Browse Source

Early exit moved to run()

combat-2
MagicBot 6 months ago
parent
commit
2760a45d2f
  1. 8
      src/engine/db/handlers/dbWarehouseHandler.java

8
src/engine/db/handlers/dbWarehouseHandler.java

@ -212,12 +212,8 @@ public class dbWarehouseHandler extends dbHandlerBase { @@ -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);
}
}
}

Loading…
Cancel
Save