From 6d85435f60e4fa94b1956ceb44c7dddd92c4b39b Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 20 Oct 2020 12:28:45 +0100 Subject: Remove BLOCKENTITY_PROTODEF --- src/BlockEntities/HopperEntity.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/BlockEntities/HopperEntity.h') diff --git a/src/BlockEntities/HopperEntity.h b/src/BlockEntities/HopperEntity.h index ff21471b6..366eb8e9e 100644 --- a/src/BlockEntities/HopperEntity.h +++ b/src/BlockEntities/HopperEntity.h @@ -26,6 +26,7 @@ class cHopperEntity : // tolua_begin public: + enum { ContentsHeight = 1, @@ -33,12 +34,8 @@ public: TICKS_PER_TRANSFER = 8, ///< How many ticks at minimum between two item transfers to or from the hopper } ; - - // tolua_end - BLOCKENTITY_PROTODEF(cHopperEntity) - /** Constructor used for normal operation */ cHopperEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World); @@ -100,7 +97,3 @@ private: bool m_Locked; } ; // tolua_export - - - - -- cgit v1.2.3