mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (detection): Fix false hit reduction
This commit is contained in:
@@ -382,7 +382,7 @@ void AnticheatMgr::TeleportHackDetection(Player* player, MovementInfo movementIn
|
||||
float yDiff = fabs(lastY - newY);
|
||||
float zDiff = fabs(lastZ - newZ);
|
||||
|
||||
if (movementInfo.HasMovementFlag(MOVEMENTFLAG_FALLING))
|
||||
if (player->IsFalling() || player->IsFalling() && player->IsMounted())
|
||||
return;
|
||||
|
||||
if (player->duel)
|
||||
|
||||
Reference in New Issue
Block a user