From 98e72947dad5aee713b92a2d81d28f997353c1b2 Mon Sep 17 00:00:00 2001 From: MDIC Date: Wed, 11 May 2022 08:20:59 -0400 Subject: [PATCH] fix (module) Gravity hit false hit fix --- src/AnticheatMgr.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index ec454fa..d797d23 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -534,6 +534,16 @@ void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInf if (!sConfigMgr->GetOption("Anticheat.DetectGravityHack", true)) return; + if (player->GetAreaId()) + { + switch (player->GetAreaId()) + { + case 4458: //sparksockett mine field + case 4419: //Snowblindhills tiny area near sparksockett mine field + return; + } + } + if (player->HasAuraType(SPELL_AURA_FEATHER_FALL)) { return;