From cf755b4d5e959a53750a6b8ac875c984d1deb1b0 Mon Sep 17 00:00:00 2001 From: M'Dic Date: Wed, 22 Mar 2023 11:30:32 -0400 Subject: [PATCH] Revert "Update (detection): Add Support Helper to Fly hack" This reverts commit e6f1305f015a7b87b47c3591f31662cff9f502d1. There is a issue in the core that was introduced dealing with stricter flight hack detection. turn it off for now until the issue is fixed. --- src/AnticheatMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 84903ea..ba176dd 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -310,7 +310,7 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo) bool stricterChecks = true; if (sConfigMgr->GetOption("Anticheat.StricterFlyHackCheck", false)) { - stricterChecks = !(movementInfo.HasMovementFlag(MOVEMENTFLAG_ASCENDING | MOVEMENTFLAG_DESCENDING) && !player->IsInWater() && !player->CanTeleport()); + stricterChecks = !(movementInfo.HasMovementFlag(MOVEMENTFLAG_ASCENDING | MOVEMENTFLAG_DESCENDING) && !player->IsInWater()); } if (!movementInfo.HasMovementFlag(MOVEMENTFLAG_CAN_FLY) && !movementInfo.HasMovementFlag(MOVEMENTFLAG_FLYING) && stricterChecks)