summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-15 16:23:50 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-15 16:23:50 +0100
commit04dff4882a3d75f3a0d432fb3377cc3f59fdf251 (patch)
treefca7853f6f6e69cc3e1b75b958ced35ba82712fa /source/ClientHandle.cpp
parentMerge remote-tracking branch 'upstream/master' into playerxp (diff)
downloadcuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar.gz
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar.bz2
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar.lz
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar.xz
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.tar.zst
cuberite-04dff4882a3d75f3a0d432fb3377cc3f59fdf251.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 73852b886..daf09d4ea 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -260,6 +260,9 @@ void cClientHandle::Authenticate(void)
// Send health
m_Player->SendHealth();
+
+ // Send experience
+ m_Player->SendExperience();
// Send gamemode (1.6.1 movementSpeed):
SendGameMode(m_Player->GetGameMode());
@@ -1873,9 +1876,9 @@ void cClientHandle::SendRespawn(void)
-void cClientHandle::SendSetExperience(void)
+void cClientHandle::SendExperience(void)
{
- m_Protocol->SendSetExperience();
+ m_Protocol->SendExperience();
}