From 25b163edbd987f4e28161413090f0d0939d2e7e8 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 6 Oct 2012 16:57:28 +0000 Subject: Lua plugins can get player's equipped item git-svn-id: http://mc-server.googlecode.com/svn/trunk@932 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/Player.h b/source/Player.h index d9cfddece..3a5f346d5 100644 --- a/source/Player.h +++ b/source/Player.h @@ -44,7 +44,7 @@ public: inline cInventory & GetInventory(void) { return m_Inventory; } //tolua_export inline const cInventory & GetInventory(void) const { return m_Inventory; } - inline const cItem & GetEquippedItem(void) const {return GetInventory().GetEquippedItem(); } + inline const cItem & GetEquippedItem(void) const {return GetInventory().GetEquippedItem(); } // tolua_export virtual void TeleportTo( const double & a_PosX, const double & a_PosY, const double & a_PosZ ); //tolua_export -- cgit v1.2.3