Browse Source

Comment update

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

5
src/engine/gameManager/ForgeManager.java

@ -49,6 +49,11 @@ public enum ForgeManager implements Runnable { @@ -49,6 +49,11 @@ public enum ForgeManager implements Runnable {
Logger.error(e);
}
// Do not process null workOrders
if (workOrder == null)
continue;
if (workOrder.total_produced >= workOrder.total_to_produce) {
// Complete this workOrder.

Loading…
Cancel
Save