Browse Source

Workorder to json work

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

2
src/engine/gameManager/ForgeManager.java

@ -142,7 +142,7 @@ public enum ForgeManager implements Runnable {
vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder);
forge.add(workOrder); forge.add(workOrder);
String jsonWorkOrder = workOrder.toString(); String jsonWorkOrder = WorkOrder.toJson(workOrder);
jsonWorkOrder = jsonWorkOrder.trim(); jsonWorkOrder = jsonWorkOrder.trim();
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save