From d6a690125c8118898f0407a80729aedec9bc219e Mon Sep 17 00:00:00 2001 From: M'Dic Date: Tue, 30 Aug 2022 20:52:29 -0400 Subject: [PATCH] update (detection): False Flag Fix --- src/AnticheatMgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 449ae79..a71895f 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -311,6 +311,12 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo, if (!player->HasUnitMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY) && movementInfo.jump.zspeed < -10.0f) return; + if (player->HasAuraType(SPELL_AURA_WATER_WALK) || player->HasAuraType(SPELL_AURA_FEATHER_FALL) || + player->HasAuraType(SPELL_AURA_SAFE_FALL)) + { + return; + } + if (ground_Z > 5.0f && movementInfo.pos.GetPositionZ() >= player->GetPositionZ()) { if (sConfigMgr->GetOption("Anticheat.WriteLog", true))