|
|
|
@ -47,6 +47,7 @@ public enum ForgeManager implements Runnable {
@@ -47,6 +47,7 @@ public enum ForgeManager implements Runnable {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
workOrder.total_produced = workOrder.total_produced + 1; |
|
|
|
|
Logger.info("item forged:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")"); |
|
|
|
|
|
|
|
|
|
if (workOrder.total_produced >= workOrder.total_to_produce) { |
|
|
|
|
|
|
|
|
@ -62,7 +63,6 @@ public enum ForgeManager implements Runnable {
@@ -62,7 +63,6 @@ public enum ForgeManager implements Runnable {
|
|
|
|
|
workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; |
|
|
|
|
workOrders.add(workOrder); |
|
|
|
|
|
|
|
|
|
Logger.info("workOrder cycled:" + workOrder.workOrderID + " (" + workOrder.total_produced + "/" + workOrder.total_to_produce + ")"); |
|
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
|