From e92b9e7ecbdf2918aab59d4eeb7bb5966430b264 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 24 Aug 2012 07:58:26 +0000 Subject: Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 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 7513df969..bb8519828 100644 --- a/source/cInventory.h +++ b/source/cInventory.h @@ -47,7 +47,8 @@ public: cItem* GetSlots() const { return m_Slots; } cItem* GetFromHotBar( int a_SlotNum ); //tolua_export - cItem & GetEquippedItem(); //tolua_export + cItem & GetEquippedItem(void); //tolua_export + const cItem & GetEquippedItem(void) const; void SetEquippedSlot( int a_SlotNum ); //tolua_export short GetEquippedSlot() { return m_EquippedSlot; } //tolua_export -- cgit v1.2.3