mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
typo
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user