From 98b73d978a286260fbb51b419f8484c3c13e3518 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 22 Apr 2024 00:19:29 -0400 Subject: [PATCH] Slot tracking update --- src/engine/gameManager/ForgeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 80ad2da3..80bceeff 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -185,7 +185,7 @@ public enum ForgeManager implements Runnable { // Subtract slots currently being used by npc workOrders for (WorkOrder npcWorkOrder : ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor)) - availableSlots = availableSlots - npcWorkOrder.slots_used; + availableSlots = availableSlots - npcWorkOrder.cooking.size(); // Single item rolls are always a single slot