diff --git a/src/engine/devcmd/cmds/InfoCmd.java b/src/engine/devcmd/cmds/InfoCmd.java index c8523d6f..061b2b1f 100644 --- a/src/engine/devcmd/cmds/InfoCmd.java +++ b/src/engine/devcmd/cmds/InfoCmd.java @@ -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(); } }