Browse Source

Slot is index driven.

bugfix-slot-update-2
MagicBot 11 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 {
if (npc.getObjectType() != GameObjectType.NPC) if (npc.getObjectType() != GameObjectType.NPC)
continue; 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(); output += newline + "location " + npc.getLoc();
} }
} }

Loading…
Cancel
Save