mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
patch (area): Antiswim false hit fix for maraudon
This commit is contained in:
@@ -478,6 +478,15 @@ void AnticheatMgr::AntiSwimHackDetection(Player* player, MovementInfo movementIn
|
||||
if (!sConfigMgr->GetOption<bool>("Anticheat.AntiSwimHack", true))
|
||||
return;
|
||||
|
||||
if (player->GetAreaId())
|
||||
{
|
||||
switch (player->GetAreaId())
|
||||
{
|
||||
case 2100: //Maraudon https://github.com/azerothcore/azerothcore-wotlk/issues/2437
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (player->GetLiquidData().Status == LIQUID_MAP_UNDER_WATER && !movementInfo.HasMovementFlag(MOVEMENTFLAG_SWIMMING))
|
||||
{
|
||||
if (sConfigMgr->GetOption<bool>("Anticheat.WriteLog", true))
|
||||
|
||||
Reference in New Issue
Block a user