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:
M'Dic
2023-03-22 11:30:32 -04:00
parent e6f1305f01
commit cf755b4d5e

View File

@@ -310,7 +310,7 @@ void AnticheatMgr::FlyHackDetection(Player* player, MovementInfo movementInfo)
bool stricterChecks = true;
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)