mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +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)
|
if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER)
|
||||||
return;
|
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()
|
if (m_Players[key].GetLastMovementInfo().pos.GetPositionZ() == movementInfo.pos.GetPositionZ()
|
||||||
&& player->GetPositionZ() >= player->GetFloorZ() + 2.5f)
|
&& player->GetPositionZ() >= player->GetFloorZ() + 2.5f)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user