Lua plugins can get player's equipped item
git-svn-id: http://mc-server.googlecode.com/svn/trunk@932 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
c26a593228
commit
25b163edbd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue