mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-24 22:16:25 +00:00
fix (module): Reduce False Hit Gravity Hack
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user