From a46619c50af2433ecb42c928c59ff17dea536981 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 3 Mar 2025 19:23:01 -0600 Subject: [PATCH] simplified mob aI --- src/engine/mobileAI/utilities/MovementUtilities.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/mobileAI/utilities/MovementUtilities.java b/src/engine/mobileAI/utilities/MovementUtilities.java index ed8344ca..32221fac 100644 --- a/src/engine/mobileAI/utilities/MovementUtilities.java +++ b/src/engine/mobileAI/utilities/MovementUtilities.java @@ -13,6 +13,7 @@ import engine.Enum; import engine.Enum.GameObjectType; import engine.Enum.ModType; import engine.Enum.SourceType; +import engine.InterestManagement.InterestManager; import engine.mobileAI.Threads.MobAIThread; import engine.exception.MsgSendException; import engine.gameManager.MovementManager; @@ -193,6 +194,7 @@ public class MovementUtilities { public static void aiMove(Mob agent, Vector3fImmutable vect, boolean isWalking) { + InterestManager.forceLoad(agent); //update our walk/run state. if (isWalking && !agent.isWalk()) { agent.setWalkMode(true);