Browse Source

Removed temp in-building loc due to null.

master
MagicBot 2 years ago
parent
commit
b6b1485841
  1. 3
      src/engine/devcmd/cmds/SlotTestCmd.java

3
src/engine/devcmd/cmds/SlotTestCmd.java

@ -53,7 +53,7 @@ public class SlotTestCmd extends AbstractDevCmd { @@ -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 { @@ -62,6 +62,7 @@ public class SlotTestCmd extends AbstractDevCmd {
mob = (Mob) hireling;
outString += "\r\n" + "location " + mob.inBuildingLoc.toString();
*/
}
}

Loading…
Cancel
Save