Browse Source

Update to debug strings

combat-2
MagicBot 7 months ago
parent
commit
a5df674fbe
  1. 5
      src/engine/gameManager/ForgeManager.java

5
src/engine/gameManager/ForgeManager.java

@ -43,13 +43,12 @@ public enum ForgeManager implements Runnable { @@ -43,13 +43,12 @@ public enum ForgeManager implements Runnable {
// otherwise roll what was asked for
workOrder.total_to_produce = workOrder.total_to_produce - 1;
Logger.info("Workorder popped: " + workOrder.workOrderID);
}
if (workOrder.total_to_produce == 0) {
workOrder.runCompleted = true;
Logger.info("Workorder has completed: " + workOrder.workOrderID);
// Remove this workOrder from any slots on vendor
continue;
@ -58,7 +57,7 @@ public enum ForgeManager implements Runnable { @@ -58,7 +57,7 @@ public enum ForgeManager implements Runnable {
// Resubmit workOrder
workOrder.completionTime = System.currentTimeMillis() + 10000;
Logger.info("Workorder has cycled: " + workOrder.workOrderID);
} catch (InterruptedException e) {
e.printStackTrace();
}

Loading…
Cancel
Save