|
|
|
@ -59,11 +59,11 @@ public enum ForgeManager implements Runnable {
@@ -59,11 +59,11 @@ public enum ForgeManager implements Runnable {
|
|
|
|
|
|
|
|
|
|
Logger.info("item forged:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")"); |
|
|
|
|
|
|
|
|
|
// Complete this workOrder. Persist items currently in memory
|
|
|
|
|
// and set the items as completed.
|
|
|
|
|
|
|
|
|
|
if (workOrder.total_produced >= workOrder.total_to_produce) { |
|
|
|
|
|
|
|
|
|
// Complete this workOrder. Persist items currently in memory
|
|
|
|
|
// and set the items as completed.
|
|
|
|
|
|
|
|
|
|
for (Item workOrderItem : workOrder.cooking) { |
|
|
|
|
workOrderItem.setDateToUpgrade(0); |
|
|
|
|
|
|
|
|
|