Browse Source

Early exit moved to run()

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

6
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);
}
}
}

Loading…
Cancel
Save