From 2760a45d2f64c92cfba5b16a16274989a28659cb Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 10 May 2024 09:39:43 -0400 Subject: [PATCH] Early exit moved to run() --- src/engine/db/handlers/dbWarehouseHandler.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 10d391bb..9526d427 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -212,12 +212,8 @@ public class dbWarehouseHandler extends dbHandlerBase { for (WorkOrder workOrder : submitList) { workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet(); ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); - - // If workorder is not yet complete process it - - if (workOrder.runCompleted == false) - ForgeManager.forge.add(workOrder); - + ForgeManager.forge.add(workOrder); } + } }