summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authormathiascode <mail@mathias.is>2020-12-13 20:21:50 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2020-12-18 22:03:50 +0100
commit21033086187bfb535200a04c2d1bcb867f9195db (patch)
treedabdda64b5a813f1dd75e8411c5431caec14df70 /src/ClientHandle.cpp
parentWarnings improvements (diff)
downloadcuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar.gz
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar.bz2
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar.lz
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar.xz
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.tar.zst
cuberite-21033086187bfb535200a04c2d1bcb867f9195db.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 88746f273..cee35203e 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -837,12 +837,11 @@ void cClientHandle::HandleEnchantItem(UInt8 a_WindowID, UInt8 a_Enchantment)
-void cClientHandle::HandlePlayerAbilities(bool a_CanFly, bool a_IsFlying, float FlyingSpeed, float WalkingSpeed)
+void cClientHandle::HandlePlayerAbilities(bool a_IsFlying, float FlyingSpeed, float WalkingSpeed)
{
UNUSED(FlyingSpeed); // Ignore the client values for these
UNUSED(WalkingSpeed);
- m_Player->SetCanFly(a_CanFly);
m_Player->SetFlying(a_IsFlying);
}