diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index b79264d3..80ad2da3 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -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.