summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-04 22:24:31 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-04 22:24:31 +0200
commita032594bf7f8a52f963e7f3f1df04997874f67d3 (patch)
treef1da4ef178b752f025ca0a77b3a52ef9b37b9e02 /src/Protocol/Protocol17x.cpp
parentFixed signs not staying on other signs (diff)
parentFixed #1286 (diff)
downloadcuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar.gz
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar.bz2
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar.lz
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar.xz
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.tar.zst
cuberite-a032594bf7f8a52f963e7f3f1df04997874f67d3.zip
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-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()));
}