From a851d9a6ec3767832c030960653c2099d1cc60df Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 22 Apr 2024 08:40:20 -0400 Subject: [PATCH] Workorder to json work --- src/engine/gameManager/ForgeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index a7ae3dbb..5ddf3064 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -142,7 +142,7 @@ public enum ForgeManager implements Runnable { vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); forge.add(workOrder); - String jsonWorkOrder = workOrder.toString(); + String jsonWorkOrder = WorkOrder.toJson(workOrder); jsonWorkOrder = jsonWorkOrder.trim(); } catch (Exception e) {