diff options
author | nielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-16 12:35:32 +0200 |
---|---|---|
committer | nielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-16 12:35:32 +0200 |
commit | b984da5a9ec3998a00c8823b563d13303d441c87 (patch) | |
tree | 61e594c018aabb82c7700f724c391abdf4179fb6 /source/Player.cpp | |
parent | Added an elaborative comment on the deadlock prevention code (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | source/Player.cpp | 3 |
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; } |