mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Revert "Update (detection): Add Support Helper to Fly hack"
This reverts commit e6f1305f01.
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.
This commit is contained in:
@@ -310,7 +310,7 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
|
|||||||
bool stricterChecks = true;
|
bool stricterChecks = true;
|
||||||
if (sConfigMgr->GetOption<bool>("Anticheat.StricterFlyHackCheck", false))
|
if (sConfigMgr->GetOption<bool>("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)
|
if (!movementInfo.HasMovementFlag(MOVEMENTFLAG_CAN_FLY) && !movementInfo.HasMovementFlag(MOVEMENTFLAG_FLYING) && stricterChecks)
|
||||||
|
|||||||
Reference in New Issue
Block a user