From acd537d53369002ff3e5557865cbe66af01ea3a1 Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 16:49:01 +0000 Subject: Added CreateInventoryAction packet for creative mode. Used cPacketEntityEquipment as template. Forced server into Creative Mode. Can't break blocks yet. Player can stil be damaged in creative mode and dying takes you back to survival mode. git-svn-id: http://mc-server.googlecode.com/svn/trunk@15 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cInventory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/cInventory.h') diff --git a/source/cInventory.h b/source/cInventory.h index 19460142f..01f505ab1 100644 --- a/source/cInventory.h +++ b/source/cInventory.h @@ -9,6 +9,7 @@ class cClientHandle; class cPlayer; class cPacket_WindowClick; class cPacket_EntityEquipment; +class cPacket_CreateInventoryAction; class cInventory //tolua_export : public cWindowOwner { //tolua_export @@ -64,4 +65,4 @@ private: short m_EquippedSlot; cPlayer* m_Owner; -}; //tolua_export \ No newline at end of file +}; //tolua_export -- cgit v1.2.3