diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-09 18:27:31 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-09 18:27:31 +0200 |
commit | 71c3369e084d0b9e3b91f9517069e58aaecc15e3 (patch) | |
tree | 2e3f8561562a559762aacefbf963a3effb80aa8b /src/ClientHandle.cpp | |
parent | Downgrade SQLiteCpp again (diff) | |
download | cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar.gz cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar.bz2 cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar.lz cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar.xz cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.tar.zst cuberite-71c3369e084d0b9e3b91f9517069e58aaecc15e3.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index f97ce26c9..fa2c2124b 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -362,13 +362,14 @@ void cClientHandle::Authenticate(const AString & a_Name, const AString & a_UUID, // Send experience m_Player->SendExperience(); - - m_Player->Initialize(*World); - m_State = csAuthenticated; // Send player list items SendPlayerListItem(*m_Player, 0); + World->BroadcastPlayerListItem(*m_Player, 0); World->SendPlayerList(m_Player); + + m_Player->Initialize(*World); + m_State = csAuthenticated; // Query player team m_Player->UpdateTeam(); |