mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
Note Corrections
This commit is contained in:
@@ -244,7 +244,7 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo)
|
||||
if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER)
|
||||
return;
|
||||
|
||||
// This is Black Magic. Check only for x and y difference but no z difference that is greater then or equal to z +5 of the ground
|
||||
// This is Black Magic. Check only for x and y difference but no z difference that is greater then or equal to z +2.5 of the ground
|
||||
if (m_Players[key].GetLastMovementInfo().pos.GetPositionZ() == movementInfo.pos.GetPositionZ()
|
||||
&& player->GetPositionZ() >= player->GetFloorZ() + 2.5f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user