Browse Source

Comment cleanup

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

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

@ -187,6 +187,10 @@ public class dbWarehouseHandler extends dbHandlerBase {
public void LOAD_WORKORDERS() { 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<WorkOrder> submitList = new ArrayList<>(); ArrayList<WorkOrder> submitList = new ArrayList<>();
try (Connection connection = DbManager.getConnection(); try (Connection connection = DbManager.getConnection();
@ -202,7 +206,7 @@ public class dbWarehouseHandler extends dbHandlerBase {
Logger.error(e); Logger.error(e);
} }
// Submit the new workOrders to the ForgeManager // Submit new workOrders to the ForgeManager
for (WorkOrder workOrder : submitList) { for (WorkOrder workOrder : submitList) {
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder);

Loading…
Cancel
Save