mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
fix (module) Gravity hit false hit fix
This commit is contained in:
@@ -534,6 +534,16 @@ void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInf
|
||||
if (!sConfigMgr->GetOption<bool>("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;
|
||||
|
||||
Reference in New Issue
Block a user