summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/ChestEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/ChestEntity.h')
-rw-r--r--src/BlockEntities/ChestEntity.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/BlockEntities/ChestEntity.h b/src/BlockEntities/ChestEntity.h
index ee3c59b8b..456dc4880 100644
--- a/src/BlockEntities/ChestEntity.h
+++ b/src/BlockEntities/ChestEntity.h
@@ -15,8 +15,7 @@ class cClientHandle;
// tolua_begin
-class cChestEntity :
- public cBlockEntityWithItems
+class cChestEntity : public cBlockEntityWithItems
{
// tolua_end
@@ -24,13 +23,12 @@ class cChestEntity :
// tolua_begin
-public:
-
+ public:
enum
{
ContentsHeight = 3,
- ContentsWidth = 9,
- } ;
+ ContentsWidth = 9,
+ };
// tolua_end
@@ -52,8 +50,7 @@ public:
/** Sets the number of players who currently have this chest open */
void SetNumberOfPlayers(int a_NumActivePlayers) { m_NumActivePlayers = a_NumActivePlayers; }
-private:
-
+ private:
/** Number of players who currently have this chest open */
int m_NumActivePlayers;
@@ -78,4 +75,4 @@ private:
/** cItemGrid::cListener overrides: */
virtual void OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum) override;
-} ; // tolua_export
+}; // tolua_export