Browse Source

Minor class cleanup

combat-2
MagicBot 7 months ago
parent
commit
27a37eba79
  1. 2
      src/engine/gameManager/ForgeManager.java

2
src/engine/gameManager/ForgeManager.java

@ -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();
}

Loading…
Cancel
Save