From 2a7bfb7dc521081dd5846f3a97838dfac2c7c51e Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Mon, 25 May 2020 18:58:28 -0500 Subject: [PATCH] Clean up output --- .../org/dynmap/markers/impl/MarkerAPIImpl.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/DynmapCore/src/main/java/org/dynmap/markers/impl/MarkerAPIImpl.java b/DynmapCore/src/main/java/org/dynmap/markers/impl/MarkerAPIImpl.java index 427c3f51..f64937db 100644 --- a/DynmapCore/src/main/java/org/dynmap/markers/impl/MarkerAPIImpl.java +++ b/DynmapCore/src/main/java/org/dynmap/markers/impl/MarkerAPIImpl.java @@ -2243,13 +2243,13 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener { } EnterExitText t = m.getGreetingText(); if (t != null) { - if (t.title != null) msg += ", greeting='" + t.title + "'"; - if (t.subtitle != null) msg += ", greetingsub='" + t.subtitle + "'"; + if (t.title != null) msg += ", greeting:\"" + t.title + "\""; + if (t.subtitle != null) msg += ", greetingsub:\"" + t.subtitle + "\""; } t = m.getFarewellText(); if (t != null) { - if (t.title != null) msg += ", farewell='" + t.title + "'"; - if (t.subtitle != null) msg += ", farewellsub='" + t.subtitle + "'"; + if (t.title != null) msg += ", farewell:\"" + t.title + "\""; + if (t.subtitle != null) msg += ", farewellsub:\"" + t.subtitle + "\""; } sender.sendMessage(msg); } @@ -2656,13 +2656,13 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener { } EnterExitText t = m.getGreetingText(); if (t != null) { - if (t.title != null) msg += ", greeting='" + t.title + "'"; - if (t.subtitle != null) msg += ", greetingsub='" + t.subtitle + "'"; + if (t.title != null) msg += ", greeting:\"" + t.title + "\""; + if (t.subtitle != null) msg += ", greetingsub:\"" + t.subtitle + "\""; } t = m.getFarewellText(); if (t != null) { - if (t.title != null) msg += ", farewell='" + t.title + "'"; - if (t.subtitle != null) msg += ", farewellsub='" + t.subtitle + "'"; + if (t.title != null) msg += ", farewell:\"" + t.title + "\""; + if (t.subtitle != null) msg += ", farewellsub:\"" + t.subtitle + "\""; } sender.sendMessage(msg); }