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