From 0c5facaefc8d3275dea2c8c6e01105f28edbf311 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 4 Feb 2024 13:35:40 -0500 Subject: [PATCH] Dev command updated to reflect index slotting. --- src/engine/devcmd/cmds/SlotTestCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/devcmd/cmds/SlotTestCmd.java b/src/engine/devcmd/cmds/SlotTestCmd.java index d8add479..1b0aad91 100644 --- a/src/engine/devcmd/cmds/SlotTestCmd.java +++ b/src/engine/devcmd/cmds/SlotTestCmd.java @@ -61,7 +61,7 @@ public class SlotTestCmd extends AbstractDevCmd { } for (BuildingLocation buildingLocation : BuildingManager._slotLocations.get(building.meshUUID)) - outString += buildingLocation.getSlot() + buildingLocation.getLocation().toString() + "\r\n"; + outString += buildingLocation.getSlot() - 1 + buildingLocation.getLocation().toString() + "\r\n"; outString += "\r\nNext Available Slot: " + BuildingManager.getAvailableSlot(building);