diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-04 21:00:55 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-04 21:00:55 +0200 |
commit | ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6 (patch) | |
tree | 8b43dbe42d077c95b12171e7229ab99c32759e1a /src/Entities/Player.cpp | |
parent | Suggestions (diff) | |
download | cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar.gz cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar.bz2 cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar.lz cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar.xz cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.tar.zst cuberite-ccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 8e4c89f68..eebc9ecf9 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1610,7 +1610,7 @@ bool cPlayer::MoveToWorld(const AString & a_WorldName, cWorld * a_World) { GetClientHandle()->SendPlayerMoveLook(); GetClientHandle()->SendHealth(); - GetClientHandle()->SendWholeInventory((cWindow &)GetInventory()); + GetClientHandle()->SendWholeInventory(*GetWindow()); } return true; |