summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-04 20:16:52 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-04 20:16:52 +0200
commitf5b71cc1f86c383891d2c0da7a3be5355ee1816e (patch)
tree23e0729b17186503b90fbb84668c56b5135af34f /src/Protocol/Protocol17x.cpp
parentUpdated submodules (diff)
downloadcuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar.gz
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar.bz2
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar.lz
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar.xz
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.tar.zst
cuberite-f5b71cc1f86c383891d2c0da7a3be5355ee1816e.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 8f3399b2f..318342f09 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -820,7 +820,7 @@ void cProtocol172::SendPlayerAbilities(void)
}
Pkt.WriteByte(Flags);
Pkt.WriteFloat((float)(0.05 * Player->GetFlyingMaxSpeed()));
- Pkt.WriteFloat((float)(0.1 * Player->GetMaxSpeed()));
+ Pkt.WriteFloat((float)(0.1 * Player->GetNormalMaxSpeed()));
}