diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-20 13:28:45 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-24 19:49:38 +0200 |
commit | 6d85435f60e4fa94b1956ceb44c7dddd92c4b39b (patch) | |
tree | a5448788a6de6ff71039040bb31e0b5aaaa43f87 /src/BlockEntities/DropSpenserEntity.h | |
parent | TNT Changes (#4970) (diff) | |
download | cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.gz cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.bz2 cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.lz cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.xz cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.zst cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.zip |
Diffstat (limited to 'src/BlockEntities/DropSpenserEntity.h')
-rw-r--r-- | src/BlockEntities/DropSpenserEntity.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 - - - - |