This commit is contained in:
MDIC
2022-05-03 20:03:34 -04:00
parent 05ff193afb
commit 317f3ac963
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ Anticheat.DetectClimbHack = 1
Anticheat.DetectTelePortHack = 1
Anticheat.IgnoreControlHack = 1
Anticheat.DetectZaxisHack =1
Anticheat.AntiSwimClimbHack = 1
Anticheat.AntiSwimHack = 1
# Anticheat.StricterFlyHackCheck
# Description: Checks moveflag ascending (may give false positives)

View File

@@ -474,7 +474,7 @@ void AnticheatMgr::ClimbHackDetection(Player* player, MovementInfo movementInfo,
// basic detection
void AnticheatMgr::AntiSwimHackDetection(Player* player, MovementInfo movementInfo)
{
if (!sConfigMgr->GetOption<bool>("Anticheat.AntiSwimClimbHack", true))
if (!sConfigMgr->GetOption<bool>("Anticheat.AntiSwimHack", true))
return;
if (player->GetLiquidData().Status == LIQUID_MAP_UNDER_WATER && !movementInfo.HasMovementFlag(MOVEMENTFLAG_SWIMMING))