Note Corrections

This commit is contained in:
MDIC
2022-04-27 13:45:21 -04:00
parent df127e135a
commit 02c902440b

View File

@@ -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)
{