summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-16 12:35:32 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-16 12:35:32 +0200
commitb984da5a9ec3998a00c8823b563d13303d441c87 (patch)
tree61e594c018aabb82c7700f724c391abdf4179fb6
parentAdded an elaborative comment on the deadlock prevention code (diff)
downloadcuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar.gz
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar.bz2
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar.lz
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar.xz
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.tar.zst
cuberite-b984da5a9ec3998a00c8823b563d13303d441c87.zip
-rw-r--r--source/Player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index 16255c003..24f02e7eb 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -901,8 +901,9 @@ bool cPlayer::MoveToWorld( const char* a_WorldName )
/* Add player to all the necessary parts of the new world */
SetWorld( World );
GetWorld()->AddPlayer(this);
- GetClientHandle()->StreamChunks();
+ m_ClientHandle->HandleRespawn();
+ m_ClientHandle->StreamChunks();
return true;
}