diff options
author | Mattes D <github@xoft.cz> | 2014-06-29 08:55:26 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-29 08:55:26 +0200 |
commit | 3b3160d6b4cd4c1823881e918cf94f3c5113e9c6 (patch) | |
tree | 0e2fe234f7538a3f0da2bca1ba3e0dcc411a8e1e /src/ClientHandle.cpp | |
parent | Merge pull request #1132 from mc-server/RemoveMD5 (diff) | |
parent | Send statistics to the player, when he logged in. (diff) | |
download | cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar.gz cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar.bz2 cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar.lz cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar.xz cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.tar.zst cuberite-3b3160d6b4cd4c1823881e918cf94f3c5113e9c6.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 95dfaffb2..abe9a86f5 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -361,6 +361,9 @@ void cClientHandle::Authenticate(const AString & a_Name, const AString & a_UUID) // Send scoreboard data World->GetScoreBoard().SendTo(*this); + // Send statistics + SendStatistics(m_Player->GetStatManager()); + // Delay the first ping until the client "settles down" // This should fix #889, "BadCast exception, cannot convert bit to fm" error in client cTimer t1; |