summaryrefslogtreecommitdiffstats
path: root/source/cPlayer.h
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-01 19:45:28 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-01-01 19:45:28 +0100
commitac63775297cffb56b05702c0a3c6575f1bcd7d3b (patch)
tree9a5355be1d74a613a71ca43e2b85d53688eb6de2 /source/cPlayer.h
parentFixed the numchunks console command. (diff)
downloadcuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.gz
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.bz2
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.lz
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.xz
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.tar.zst
cuberite-ac63775297cffb56b05702c0a3c6575f1bcd7d3b.zip
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