diff options
author | Alexander Harkness <me@bearbin.net> | 2024-11-02 22:27:47 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2024-11-02 22:27:47 +0100 |
commit | cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch) | |
tree | f647b20e1823f1846af88e832cf82a4a02e96e69 /src/BlockEntities/CommandBlockEntity.h | |
parent | Improve clang-format config file, remove automatically enforced code style from contrib guide. (diff) | |
download | cuberite-clang-format-codebase.tar cuberite-clang-format-codebase.tar.gz cuberite-clang-format-codebase.tar.bz2 cuberite-clang-format-codebase.tar.lz cuberite-clang-format-codebase.tar.xz cuberite-clang-format-codebase.tar.zst cuberite-clang-format-codebase.zip |
Diffstat (limited to 'src/BlockEntities/CommandBlockEntity.h')
-rw-r--r-- | src/BlockEntities/CommandBlockEntity.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.h b/src/BlockEntities/CommandBlockEntity.h index a24a34287..0d9dbb877 100644 --- a/src/BlockEntities/CommandBlockEntity.h +++ b/src/BlockEntities/CommandBlockEntity.h @@ -17,15 +17,13 @@ // tolua_begin -class cCommandBlockEntity : - public cBlockEntity +class cCommandBlockEntity : public cBlockEntity { // tolua_end using Super = cBlockEntity; -public: // tolua_export - + public: // tolua_export /** Creates a new empty command block entity */ cCommandBlockEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World); @@ -58,8 +56,7 @@ public: // tolua_export // tolua_end -private: - + private: /** Executes the associated command */ void Execute(); @@ -70,4 +67,4 @@ private: AString m_LastOutput; NIBBLETYPE m_Result; -} ; // tolua_export +}; // tolua_export |