summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DropSpenserEntity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-10-20 13:28:45 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-10-24 19:49:38 +0200
commit6d85435f60e4fa94b1956ceb44c7dddd92c4b39b (patch)
treea5448788a6de6ff71039040bb31e0b5aaaa43f87 /src/BlockEntities/DropSpenserEntity.h
parentTNT Changes (#4970) (diff)
downloadcuberite-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.h7
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
-
-
-
-