From edbc2790e31f27195835ef184a9d452bc83b2c56 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 20:52:39 +0000 Subject: Fixed cItemGrid API, no more changeable GetSlot(). Also fixed possible water and lava duplication glitches in the dispenser. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1520 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/DispenserEntity.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/DispenserEntity.h') diff --git a/source/DispenserEntity.h b/source/DispenserEntity.h index 9d788128f..ad6400921 100644 --- a/source/DispenserEntity.h +++ b/source/DispenserEntity.h @@ -28,6 +28,12 @@ public: private: // cDropSpenser overrides: virtual void DropSpenseFromSlot(int a_SlotNum) override; + + /// If such a bucket can fit, adds it to m_Contents and returns true + bool ScoopUpLiquid(int a_SlotNum, short a_BucketItemType); + + /// If the a_BlockInFront is liquidable and the empty bucket can fit, does the m_Contents processing and returns true + bool PlaceLiquid(BLOCKTYPE a_BlockInFront, int a_SlotNum); } ; // tolua_export -- cgit v1.2.3