|
|
@ -77,15 +77,10 @@ public class MobileFSMManager { |
|
|
|
|
|
|
|
|
|
|
|
if (System.currentTimeMillis() > mobPulse) { |
|
|
|
if (System.currentTimeMillis() > mobPulse) { |
|
|
|
|
|
|
|
|
|
|
|
HashSet<Integer> auditMobs = new HashSet<Integer>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (Zone zone : ZoneManager.getAllZones()) { |
|
|
|
for (Zone zone : ZoneManager.getAllZones()) { |
|
|
|
|
|
|
|
|
|
|
|
for (Mob mob : zone.zoneMobSet) { |
|
|
|
for (Mob mob : zone.zoneMobSet) { |
|
|
|
|
|
|
|
|
|
|
|
if (auditMobs.contains(mob.getObjectUUID())) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
auditMobs.add(mob.getObjectUUID()); |
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
if (mob != null) |
|
|
|
if (mob != null) |
|
|
|
MobileFSM.run(mob); |
|
|
|
MobileFSM.run(mob); |
|
|
|