mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
fix (module): Typo
This commit is contained in:
@@ -497,7 +497,7 @@ void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInf
|
|||||||
if (!sConfigMgr->GetOption<bool>("Anticheat.DetectGravityHack", true))
|
if (!sConfigMgr->GetOption<bool>("Anticheat.DetectGravityHack", true))
|
||||||
return;
|
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))
|
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user