Browse Source

Update to workOrder loading.

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

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

@ -212,6 +212,7 @@ 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);
DbManager.WarehouseQueries.WRITE_WORKORDER(workOrder);
ForgeManager.forge.add(workOrder); ForgeManager.forge.add(workOrder);
} }

Loading…
Cancel
Save