Browse Source

json and string methods updated

combat-2
MagicBot 8 months ago
parent
commit
e89404abda
  1. 8
      src/engine/loot/WorkOrder.java

8
src/engine/loot/WorkOrder.java

@ -195,7 +195,7 @@ public class WorkOrder implements Delayed { @@ -195,7 +195,7 @@ public class WorkOrder implements Delayed {
jsonWorkOrder.put("workOrderID", workOrder.workOrderID);
jsonWorkOrder.put("vendor", workOrder.vendor.getObjectUUID());
jsonWorkOrder.put("slots_used", workOrder.slots_used);
jsonWorkOrder.put("slots_used", workOrder.slots_used.get());
jsonWorkOrder.put("total_to_produce", workOrder.total_to_produce);
jsonWorkOrder.put("total_produced", workOrder.total_produced);
jsonWorkOrder.put("multiple_slot_request", workOrder.multiple_slot_request);
@ -207,7 +207,7 @@ public class WorkOrder implements Delayed { @@ -207,7 +207,7 @@ public class WorkOrder implements Delayed {
jsonWorkOrder.put("suffixToken", workOrder.suffixToken);
jsonWorkOrder.put("rollingDuration", workOrder.rollingDuration);
jsonWorkOrder.put("completionTime", workOrder.completionTime);
jsonWorkOrder.put("runCompleted", workOrder.runCompleted);
jsonWorkOrder.put("runCompleted", workOrder.runCompleted.get());
ArrayList<Integer[]> cookingTokens = new ArrayList<>();
@ -227,7 +227,7 @@ public class WorkOrder implements Delayed { @@ -227,7 +227,7 @@ public class WorkOrder implements Delayed {
String outSTring = "\r\nwordOrderID: " + this.workOrderID + "\r\n" +
"vendor: " + this.vendor.getObjectUUID() + "\r\n" +
"slots_used: " + this.slots_used + "\r\n" +
"slots_used: " + this.slots_used.get() + "\r\n" +
"total_to_produce: " + this.total_to_produce + "\r\n" +
"total_produced: " + this.total_produced + "\r\n" +
"templateID: " + this.templateID + "\r\n" +
@ -236,7 +236,7 @@ public class WorkOrder implements Delayed { @@ -236,7 +236,7 @@ public class WorkOrder implements Delayed {
"suffixToken: " + this.suffixToken + "\r\n" +
"rollingDuration: " + duration + "\r\n" +
"completionTime: " + localDateTime + "\r\n" +
"runCompleted: " + this.runCompleted + "\r\n" +
"runCompleted: " + this.runCompleted.get() + "\r\n" +
"productionCost: " + this.production_cost.toString() + "\r\n" +
"totalProductionCost:: " + this.production_cost_total.toString();

Loading…
Cancel
Save