From ccc9908e1e4039e2a389044f06c7c6dc5fa86d5a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 21 Jul 2023 13:08:42 -0400 Subject: [PATCH] NPC/Mob slotting work. --- src/engine/gameManager/BuildingManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 3bac612f..45492d4e 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -565,7 +565,7 @@ public enum BuildingManager { if (npc == null) return false; - WorldGrid.addObject(npc, contractOwner); + npc.setLoc(npc.getLoc()); return true; }