From 09b346dcb2db28e1e8903b9856e7af3c9ccf5575 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 20 Aug 2023 17:01:58 -0400 Subject: [PATCH] Update state of npc. --- src/engine/gameManager/BuildingManager.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index cf236191..b971a7e5 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -501,9 +501,7 @@ public enum BuildingManager { if (npc == null) return false; - npc.setBuilding(building); - npc.setLoc(npc.bindLoc); - MovementManager.sendRWSSMsg(npc); + MovementManager.translocate(npc, npc.bindLoc, npc.region); return true;