From 21033086187bfb535200a04c2d1bcb867f9195db Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sun, 13 Dec 2020 21:21:50 +0200 Subject: Ignore CanFly flag sent by the client --- src/ClientHandle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ClientHandle.cpp') 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); } -- cgit v1.2.3