diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-19 13:20:02 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-19 13:20:02 +0200 |
commit | 4348b2f5a4a3d91aac8808842716fc8527d254e2 (patch) | |
tree | 92e20fb6b24e2f0d7b8af190b49cfb71838f1f90 /src/ClientHandle.cpp | |
parent | Proper fix for #3136 (#3143) (diff) | |
parent | Auto clean bad world linkages (diff) | |
download | cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar.gz cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar.bz2 cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar.lz cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar.xz cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.tar.zst cuberite-4348b2f5a4a3d91aac8808842716fc8527d254e2.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index cd261b338..6dc35fe61 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -345,6 +345,7 @@ void cClientHandle::Authenticate(const AString & a_Name, const AString & a_UUID, if (World == nullptr) { World = cRoot::Get()->GetDefaultWorld(); + m_Player->SetPosition(World->GetSpawnX(), World->GetSpawnY(), World->GetSpawnZ()); } if (m_Player->GetGameMode() == eGameMode_NotSet) |