fix (module): Typo

This commit is contained in:
MDIC
2022-05-05 09:07:45 -04:00
parent 1d8c03f259
commit 4c2cb82904

View File

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