summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 21:00:55 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-04 21:00:55 +0200
commitccbf6cc446ad67fbba8163d4d4d61456c1ba0bc6 (patch)
tree8b43dbe42d077c95b12171e7229ab99c32759e1a /src/Entities/Player.cpp
parentSuggestions (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/Player.cpp2
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;