Browse Source

Slot is index driven.

bugfix-slot-update-2
MagicBot 9 months ago
parent
commit
944269b78e
  1. 2
      src/engine/devcmd/cmds/InfoCmd.java

2
src/engine/devcmd/cmds/InfoCmd.java

@ -229,7 +229,7 @@ public class InfoCmd extends AbstractDevCmd { @@ -229,7 +229,7 @@ public class InfoCmd extends AbstractDevCmd {
if (npc.getObjectType() != GameObjectType.NPC)
continue;
output += newline + npc.getName() + " slot " + targetBuilding.hirelings.indexOf(npc) + 1;
output += newline + npc.getName() + " slot " + targetBuilding.hirelings.indexOf(npc);
output += newline + "location " + npc.getLoc();
}
}

Loading…
Cancel
Save