From 59cebf9e9ba30e702861e659ebe2b319a0a23f49 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 3 Jun 2022 12:28:56 -0400 Subject: [PATCH] Auditmobs hashset for to deleted as it was being populated once a second but never used. --- src/engine/ai/MobileFSMManager.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/engine/ai/MobileFSMManager.java b/src/engine/ai/MobileFSMManager.java index a1f8ce20..0529224b 100644 --- a/src/engine/ai/MobileFSMManager.java +++ b/src/engine/ai/MobileFSMManager.java @@ -76,16 +76,11 @@ public class MobileFSMManager { ThreadUtils.sleep(1); if (System.currentTimeMillis() > mobPulse) { - - HashSet auditMobs = new HashSet(); for (Zone zone : ZoneManager.getAllZones()) { for (Mob mob : zone.zoneMobSet) { - - if (auditMobs.contains(mob.getObjectUUID())) - continue; - auditMobs.add(mob.getObjectUUID()); + try { if (mob != null) MobileFSM.run(mob);