Slot is index driven.

This commit is contained in:
2024-02-04 11:39:49 -05:00
parent 530747ed75
commit 944269b78e
+1 -1
View File
@@ -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();
} }
} }