diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 47d97e70..60112754 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -187,6 +187,10 @@ public class dbWarehouseHandler extends dbHandlerBase { public void LOAD_WORKORDERS() { + // Method loads NPC workOrders from disk at bootstrap. + // A workOrder will persist until completed or junked + // via the client interface. + ArrayList submitList = new ArrayList<>(); try (Connection connection = DbManager.getConnection(); @@ -202,7 +206,7 @@ public class dbWarehouseHandler extends dbHandlerBase { Logger.error(e); } - // Submit the new workOrders to the ForgeManager + // Submit new workOrders to the ForgeManager for (WorkOrder workOrder : submitList) { DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder);