summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-05 23:02:08 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-05 23:02:08 +0200
commitb818addde4a11196e3070e9a1f03cdd807006ed4 (patch)
tree81502475746e6871e9ed9fb9fc76c43cf52f0db1 /source/ClientHandle.cpp
parentProtoProxy: Updated to protocol 1.6.1 (#73) (diff)
downloadcuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar.gz
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar.bz2
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar.lz
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar.xz
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.tar.zst
cuberite-b818addde4a11196e3070e9a1f03cdd807006ed4.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 9a84d23f5..138209a73 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -254,6 +254,9 @@ void cClientHandle::Authenticate(void)
// Send health
m_Player->SendHealth();
+ // Send gamemode (1.6.1 movementSpeed):
+ SendGameMode(m_Player->GetGameMode());
+
m_Player->Initialize(World);
StreamChunks();
m_State = csDownloadingWorld;