Browse Source

Early exit moved to run()

combat-2
MagicBot 8 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 {
for (WorkOrder workOrder : submitList) { for (WorkOrder workOrder : submitList) {
workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet(); workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet();
ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder);
ForgeManager.forge.add(workOrder);
// If workorder is not yet complete process it
if (workOrder.runCompleted == false)
ForgeManager.forge.add(workOrder);
} }
} }
} }

Loading…
Cancel
Save