Slot is index driven.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user