diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 78c2a80..255bbc9 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -191,6 +191,10 @@ void AnticheatMgr::ZAxisHackDetection(Player* player, MovementInfo movementInfo) if (!sConfigMgr->GetOption("Anticheat.DetectZaxisHack", true)) return; + // if we are a ghost we can walk on water may false flag z -axis + if (player->HasAuraType(SPELL_AURA_GHOST)) + return; + if (movementInfo.HasMovementFlag(MOVEMENTFLAG_CAN_FLY | MOVEMENTFLAG_FLYING)) return;