diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-18 21:29:39 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-04-19 11:06:52 +0200 |
commit | 9b60ee6e439b55dd87179db0d24594f3c4debf6c (patch) | |
tree | 92e20fb6b24e2f0d7b8af190b49cfb71838f1f90 /src/ClientHandle.cpp | |
parent | Proper fix for #3136 (#3143) (diff) | |
download | cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar.gz cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar.bz2 cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar.lz cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar.xz cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.tar.zst cuberite-9b60ee6e439b55dd87179db0d24594f3c4debf6c.zip |
Diffstat (limited to '')
-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) |