mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
update (detection): False Flag Fix
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user