From f94e66bf74f2ed9eb0f23171de1f75e8c2f6ee2f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 28 May 2023 14:05:58 -0500 Subject: [PATCH] mobs update location after moving to patrol point index --- src/engine/ai/MobileFSMManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/ai/MobileFSMManager.java b/src/engine/ai/MobileFSMManager.java index ef33ef34..99e358e0 100644 --- a/src/engine/ai/MobileFSMManager.java +++ b/src/engine/ai/MobileFSMManager.java @@ -44,6 +44,7 @@ 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();