diff options
author | Mattes D <github@xoft.cz> | 2014-10-19 12:46:25 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-19 12:46:25 +0200 |
commit | b0a59927fb7531f6c909e6f581035568c79b625c (patch) | |
tree | 9837f6962a6744c6da9fb614c20ec7f46825a7c4 /src/BlockEntities/HopperEntity.h | |
parent | LuaState: Pushing a cEntity pushes the correct class name. (diff) | |
download | cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.gz cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.bz2 cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.lz cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.xz cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.zst cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.zip |
Diffstat (limited to 'src/BlockEntities/HopperEntity.h')
-rw-r--r-- | src/BlockEntities/HopperEntity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/HopperEntity.h b/src/BlockEntities/HopperEntity.h index 5d06581c2..7070bbad3 100644 --- a/src/BlockEntities/HopperEntity.h +++ b/src/BlockEntities/HopperEntity.h @@ -31,6 +31,8 @@ public: // tolua_end + BLOCKENTITY_PROTODEF(cHopperEntity); + /// Constructor used for normal operation cHopperEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World); @@ -40,8 +42,6 @@ public: */ bool GetOutputBlockPos(NIBBLETYPE a_BlockMeta, int & a_OutputX, int & a_OutputY, int & a_OutputZ); - static const char * GetClassStatic(void) { return "cHopperEntity"; } - protected: Int64 m_LastMoveItemsInTick; |