summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cPlayer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/cPlayer.h b/source/cPlayer.h
index d2d1e91d7..b3344c410 100644
--- a/source/cPlayer.h
+++ b/source/cPlayer.h
@@ -31,8 +31,7 @@ public:
Vector3d GetEyePosition(); //tolua_export
inline bool GetFlying() { return m_bTouchGround; } //tolua_export
inline const double & GetStance() { return m_Stance; } //tolua_export
- cInventory & GetInventory() { if(GetGameMode() == 0) return *m_Inventory; else return *m_CreativeInventory; } //tolua_export
- cSurvivalInventory & GetSurvivalInventory() { return *m_Inventory; } //tolua_export
+ inline cInventory & GetInventory() { if(GetGameMode() == 0) return *m_Inventory; else return *m_CreativeInventory; } //tolua_export
virtual void TeleportTo( const double & a_PosX, const double & a_PosY, const double & a_PosZ ); //tolua_export