summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-21 18:43:13 +0100
committerandrew <xdotftw@gmail.com>2014-01-21 18:43:13 +0100
commitfa4750f015f1fed0937ba9fe80fc183c27d9e929 (patch)
treeeddd2dbe01ff851750359164074d8aaa8306929e /src/ClientHandle.cpp
parentScoreboard protocol support (diff)
downloadcuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.gz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.bz2
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.lz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.xz
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.tar.zst
cuberite-fa4750f015f1fed0937ba9fe80fc183c27d9e929.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 30d1bdaa4..b06dbc84a 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -270,6 +270,9 @@ void cClientHandle::Authenticate(void)
// Query player team
m_Player->UpdateTeam();
+ // Send scoreboard data
+ World->GetScoreBoard().SendTo(*this);
+
cRoot::Get()->GetPluginManager()->CallHookPlayerSpawned(*m_Player);
}