Browse Source

Workorder to json work

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

1
src/engine/gameManager/ForgeManager.java

@ -145,6 +145,7 @@ public enum ForgeManager implements Runnable {
JSONObject jsonWorkOrder = WorkOrder.toJson(workOrder); JSONObject jsonWorkOrder = WorkOrder.toJson(workOrder);
String stringOrder = jsonWorkOrder.toString(); String stringOrder = jsonWorkOrder.toString();
stringOrder = stringOrder.trim();
} catch (Exception e) { } catch (Exception e) {
Logger.error(e); Logger.error(e);

Loading…
Cancel
Save