|
|
@ -44,7 +44,6 @@ public class MobileFSMManager { |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
MovementManager.translocate(mob,mob.patrolPoints.get(0), null); |
|
|
|
MovementManager.translocate(mob,mob.patrolPoints.get(0), null); |
|
|
|
mob.updateLocation(); |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e); |
|
|
|
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e); |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
@ -97,7 +96,7 @@ public class MobileFSMManager { |
|
|
|
for (Mob mob : zone.zoneMobSet) { |
|
|
|
for (Mob mob : zone.zoneMobSet) { |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
if (mob != null && SessionManager.getActivePlayerCharacterCount() > 0) |
|
|
|
if (mob != null) |
|
|
|
MobileFSM.DetermineAction(mob); |
|
|
|
MobileFSM.DetermineAction(mob); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e); |
|
|
|
Logger.error("Mob: " + mob.getName() + " UUID: " + mob.getObjectUUID() + " ERROR: " + e); |
|
|
|