From 2e7d2b5bcf4f0c4393ee01d213acea6ba56bcec9 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 20 Aug 2023 17:12:20 -0400 Subject: [PATCH] Update state of npc. --- src/engine/gameManager/BuildingManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index b971a7e5..e5943367 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -12,6 +12,7 @@ package engine.gameManager; import engine.Enum; import engine.Enum.BuildingGroup; import engine.Enum.GameObjectType; +import engine.InterestManagement.InterestManager; import engine.InterestManagement.WorldGrid; import engine.job.JobContainer; import engine.job.JobScheduler; @@ -501,7 +502,7 @@ public enum BuildingManager { if (npc == null) return false; - MovementManager.translocate(npc, npc.bindLoc, npc.region); + InterestManager.forceLoad(npc); return true;