update (detection): False Flag Fix

This commit is contained in:
M'Dic
2022-08-30 20:52:29 -04:00
parent 1dcfd80a5a
commit d6a690125c

View File

@@ -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<bool>("Anticheat.WriteLog", true))