From a2c7fd2404db16e167f416edd85ac1892637f949 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 27 Oct 2023 23:17:31 -0500 Subject: [PATCH] cleanup --- src/engine/mobileAI/MobAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index a0eb9f37..87b8b14b 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -584,7 +584,7 @@ public class MobAI { if(mob.isPlayerGuard() || mob.isSiege()) { bypassLoadedPlayerCheck = true; if(mob.combatTarget != null && mob.combatTarget.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) - if(mob.combatTarget.loc.distanceSquared(mob.loc) > 10000) + if(mob.combatTarget.loc.distanceSquared(mob.loc) > 62500) mob.setCombatTarget(null); }