diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index edce8faa..96279281 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -78,6 +78,7 @@ public enum ForgeManager implements Runnable { workOrder.completionTime = System.currentTimeMillis() + workOrder.rollingDuration; workOrders.add(workOrder); + Logger.info(workOrder.toString()); } catch (InterruptedException e) { e.printStackTrace(); diff --git a/src/engine/loot/WorkOrder.java b/src/engine/loot/WorkOrder.java index 9e4bf829..6bd7bf53 100644 --- a/src/engine/loot/WorkOrder.java +++ b/src/engine/loot/WorkOrder.java @@ -65,7 +65,7 @@ public class WorkOrder implements Delayed { LocalDateTime localDateTime = Instant.ofEpochMilli(this.completionTime) .atZone(ZoneId.systemDefault()).toLocalDateTime(); - Duration duration = Duration.ofMillis(38114000); + Duration duration = Duration.ofMillis(this.rollingDuration); String outSTring = "\r\nwordOrderID: " + this.workOrderID + "\r\n" + "vendor: " + this.vendor.getObjectUUID() + "\r\n" +