From 2cfe52738918f5ca83047293cb86362d1913be2e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 28 May 2023 14:12:31 -0500 Subject: [PATCH] mob AI no longer checks for no online players --- src/engine/ai/MobileFSMManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/ai/MobileFSMManager.java b/src/engine/ai/MobileFSMManager.java index 99e358e0..b4e6edff 100644 --- a/src/engine/ai/MobileFSMManager.java +++ b/src/engine/ai/MobileFSMManager.java @@ -44,7 +44,6 @@ public class MobileFSMManager { try { MovementManager.translocate(mob,mob.patrolPoints.get(0), null); - mob.updateLocation(); } catch (Exception e) { Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e); e.printStackTrace(); @@ -97,7 +96,7 @@ public class MobileFSMManager { for (Mob mob : zone.zoneMobSet) { try { - if (mob != null && SessionManager.getActivePlayerCharacterCount() > 0) + if (mob != null) MobileFSM.DetermineAction(mob); } catch (Exception e) { Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e);