fix (module): Reduce False Hit Gravity Hack

This commit is contained in:
MDIC
2022-05-10 09:11:14 -04:00
parent bb0d175b15
commit a2729ba8f6

View File

@@ -518,6 +518,11 @@ void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInf
if (!sConfigMgr->GetOption<bool>("Anticheat.DetectGravityHack", true))
return;
if (player->HasAuraType(SPELL_AURA_FEATHER_FALL))
{
return;
}
if (!player->HasUnitMovementFlag(MOVEMENTFLAG_DISABLE_GRAVITY) && movementInfo.jump.zspeed < -10.0f)
{
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))