From 944269b78ed584c514ea030dcfb846d42377ca79 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 4 Feb 2024 11:39:49 -0500 Subject: [PATCH] Slot is index driven. --- src/engine/devcmd/cmds/InfoCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }