summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorb33duck <b33duck@gmail.com>2015-05-28 22:17:21 +0200
committerb33duck <b33duck@gmail.com>2015-05-28 22:17:21 +0200
commitc8b1778847fca653c5f9cde610d25586131698ac (patch)
tree65b8979820ef68bb34cadbe4e6301ef142227d4b /src/ClientHandle.cpp
parentUpdated DumpInfo plugin. (diff)
downloadcuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar.gz
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar.bz2
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar.lz
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar.xz
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.tar.zst
cuberite-c8b1778847fca653c5f9cde610d25586131698ac.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 9644679d7..161bdeb9d 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -382,7 +382,7 @@ void cClientHandle::Authenticate(const AString & a_Name, const AString & a_UUID,
// Send player list items
SendPlayerListAddPlayer(*m_Player);
World->BroadcastPlayerListAddPlayer(*m_Player);
- World->SendPlayerList(m_Player);
+ cRoot::Get()->SendPlayerLists(m_Player);
m_Player->Initialize(*World);
m_State = csAuthenticated;
@@ -1475,7 +1475,7 @@ void cClientHandle::HandleChat(const AString & a_Message)
Msg.AddTextPart(AString("<") + m_Player->GetName() + "> ", Color);
Msg.ParseText(Message);
Msg.UnderlineUrls();
- m_Player->GetWorld()->BroadcastChat(Msg);
+ cRoot::Get()->BroadcastChat(Msg);
}