Browse Source

Update to submit logging

combat-2
MagicBot 8 months ago
parent
commit
8d7d3227cb
  1. 1
      src/engine/gameManager/ForgeManager.java
  2. 4
      src/engine/loot/WorkOrder.java

1
src/engine/gameManager/ForgeManager.java

@ -162,6 +162,7 @@ public enum ForgeManager implements Runnable { @@ -162,6 +162,7 @@ public enum ForgeManager implements Runnable {
} finally {
city.transactionLock.writeLock().unlock();
}
Logger.info(workOrder.toString());
return validation_result;
}

4
src/engine/loot/WorkOrder.java

@ -158,7 +158,9 @@ public class WorkOrder implements Delayed { @@ -158,7 +158,9 @@ public class WorkOrder implements Delayed {
"rollingDuration: " + duration + "\r\n" +
"completionTime: " + localDateTime + "\r\n" +
"runCompleted: " + this.runCompleted + "\r\n" +
"runCanceled: " + this.runCanceled + "\r\n";
"runCanceled: " + this.runCanceled + "\r\n" +
"productionCost: " + this.production_cost.toString() + "\r\n" +
"totalProductionCost:: " + this.production_cost_total.toString();
return outSTring;
}

Loading…
Cancel
Save