From b6b148584137253af2d0088cee8ef1ac6f493024 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 24 Apr 2023 17:35:56 -0400 Subject: [PATCH] Removed temp in-building loc due to null. --- src/engine/devcmd/cmds/SlotTestCmd.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/devcmd/cmds/SlotTestCmd.java b/src/engine/devcmd/cmds/SlotTestCmd.java index 29465ae6..0c60cce0 100644 --- a/src/engine/devcmd/cmds/SlotTestCmd.java +++ b/src/engine/devcmd/cmds/SlotTestCmd.java @@ -53,7 +53,7 @@ public class SlotTestCmd extends AbstractDevCmd { outString += "\r\n" + hireling.getName() + " slot " + building.getHirelings().get(hireling); - if (hireling.getObjectType().equals(GameObjectType.NPC)) { + /* if (hireling.getObjectType().equals(GameObjectType.NPC)) { npc = (NPC) hireling; outString += "\r\n" + "location " + npc.inBuildingLoc.toString(); continue; @@ -62,6 +62,7 @@ public class SlotTestCmd extends AbstractDevCmd { mob = (Mob) hireling; outString += "\r\n" + "location " + mob.inBuildingLoc.toString(); + */ } }