summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-13 23:28:55 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-13 23:28:55 +0200
commitf5842062d3f9594d8f22f8938915194d20ebdf5f (patch)
tree54a92af49ef0e3cff48a22259183399d409c3f89 /source/Player.cpp
parentRewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() (diff)
downloadcuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar.gz
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar.bz2
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar.lz
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar.xz
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.tar.zst
cuberite-f5842062d3f9594d8f22f8938915194d20ebdf5f.zip
Diffstat (limited to '')
-rw-r--r--source/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index cfbf5cdff..2cb96ca9c 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -853,7 +853,7 @@ bool cPlayer::MoveToWorld( const char* a_WorldName )
/* Remove all links to the old world */
m_World->RemovePlayer( this );
m_ClientHandle->RemoveFromAllChunks();
- m_World->RemoveEntityFromChunk(this, GetChunkX(), GetChunkZ());
+ m_World->RemoveEntity(this);
/* Add player to all the necessary parts of the new world */
SetWorld( World );