Removed temp in-building loc due to null.

This commit is contained in:
2023-04-24 17:35:56 -04:00
parent c4f939278a
commit b6b1485841
+2 -1
View File
@@ -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();
*/
}
}