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/DropSpenserEntity.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/BlockEntities/DropSpenserEntity.h') diff --git a/src/BlockEntities/DropSpenserEntity.h b/src/BlockEntities/DropSpenserEntity.h index 475937afe..e16149797 100644 --- a/src/BlockEntities/DropSpenserEntity.h +++ b/src/BlockEntities/DropSpenserEntity.h @@ -42,8 +42,6 @@ public: // tolua_end - BLOCKENTITY_PROTODEF(cDropSpenserEntity) - cDropSpenserEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World); virtual ~cDropSpenserEntity() override; @@ -64,6 +62,7 @@ public: // tolua_end protected: + bool m_ShouldDropSpense; ///< If true, the dropspenser will dropspense an item in the next tick /** Does the actual work on dropspensing an item. Chooses the slot, calls DropSpenseFromSlot() and handles smoke / sound effects */ @@ -75,7 +74,3 @@ protected: /** Helper function, drops one item from the specified slot (like a dropper) */ void DropFromSlot(cChunk & a_Chunk, int a_SlotNum); } ; // tolua_export - - - - -- cgit v1.2.3