mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
update (detection): fix false hit
This commit is contained in:
@@ -296,6 +296,9 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo,
|
||||
}
|
||||
else if (no_fly_auras && no_fly_flags && no_swim_water)
|
||||
{
|
||||
if (m_Players[key].GetLastOpcode() == MSG_MOVE_JUMP && !player->IsFalling())
|
||||
return;
|
||||
|
||||
if (ground_Z > 5.0f && movementInfo.pos.GetPositionZ() >= player->GetPositionZ())
|
||||
{
|
||||
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))
|
||||
@@ -306,6 +309,7 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo,
|
||||
}
|
||||
BuildReport(player, JUMP_HACK_REPORT);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user