mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
fix (module): False hit fix Teleplane
This commit is contained in:
@@ -168,6 +168,9 @@ void AnticheatMgr::TeleportPlaneHackDetection(Player* player, MovementInfo movem
|
||||
if (opcode == (MSG_MOVE_FALL_LAND))
|
||||
return;
|
||||
|
||||
if (player->GetLiquidData().Status == LIQUID_MAP_ABOVE_WATER)
|
||||
return;
|
||||
|
||||
if (movementInfo.HasMovementFlag(MOVEMENTFLAG_FALLING | MOVEMENTFLAG_SWIMMING))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user