From ac63775297cffb56b05702c0a3c6575f1bcd7d3b Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 1 Jan 2012 18:45:28 +0000 Subject: CreativeInventory Update - Fixed various problems with the new creative inventory (Crafting, furnace, etc) - Creative inventory will now be saved to disk, so you keep your creative inventory also for the next sessions git-svn-id: http://mc-server.googlecode.com/svn/trunk@162 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cInventory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/cInventory.h') diff --git a/source/cInventory.h b/source/cInventory.h index 849cfb440..8d4b13fcb 100644 --- a/source/cInventory.h +++ b/source/cInventory.h @@ -15,6 +15,7 @@ class cPlayer; class cPacket; class cPacket_EntityEquipment; class cInventory //tolua_export + : public cWindowOwner { //tolua_export public: cInventory(cPlayer* a_Owner); @@ -39,6 +40,7 @@ public: cItem & GetEquippedItem(); //tolua_export void SetEquippedSlot( int a_SlotNum ); //tolua_export + short GetEquippedSlot() { return m_EquippedSlot; } //tolua_export virtual void Clicked( cPacket* a_ClickPacket ) = 0; -- cgit v1.2.3