Clean up output
This commit is contained in:
parent
4076dd996c
commit
c3ab0732ee
1 changed files with 8 additions and 8 deletions
|
|
@ -2243,13 +2243,13 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener<DynmapWorld> {
|
||||||
}
|
}
|
||||||
EnterExitText t = m.getGreetingText();
|
EnterExitText t = m.getGreetingText();
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (t.title != null) msg += ", greeting='" + t.title + "'";
|
if (t.title != null) msg += ", greeting:\"" + t.title + "\"";
|
||||||
if (t.subtitle != null) msg += ", greetingsub='" + t.subtitle + "'";
|
if (t.subtitle != null) msg += ", greetingsub:\"" + t.subtitle + "\"";
|
||||||
}
|
}
|
||||||
t = m.getFarewellText();
|
t = m.getFarewellText();
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (t.title != null) msg += ", farewell='" + t.title + "'";
|
if (t.title != null) msg += ", farewell:\"" + t.title + "\"";
|
||||||
if (t.subtitle != null) msg += ", farewellsub='" + t.subtitle + "'";
|
if (t.subtitle != null) msg += ", farewellsub:\"" + t.subtitle + "\"";
|
||||||
}
|
}
|
||||||
sender.sendMessage(msg);
|
sender.sendMessage(msg);
|
||||||
}
|
}
|
||||||
|
|
@ -2656,13 +2656,13 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener<DynmapWorld> {
|
||||||
}
|
}
|
||||||
EnterExitText t = m.getGreetingText();
|
EnterExitText t = m.getGreetingText();
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (t.title != null) msg += ", greeting='" + t.title + "'";
|
if (t.title != null) msg += ", greeting:\"" + t.title + "\"";
|
||||||
if (t.subtitle != null) msg += ", greetingsub='" + t.subtitle + "'";
|
if (t.subtitle != null) msg += ", greetingsub:\"" + t.subtitle + "\"";
|
||||||
}
|
}
|
||||||
t = m.getFarewellText();
|
t = m.getFarewellText();
|
||||||
if (t != null) {
|
if (t != null) {
|
||||||
if (t.title != null) msg += ", farewell='" + t.title + "'";
|
if (t.title != null) msg += ", farewell:\"" + t.title + "\"";
|
||||||
if (t.subtitle != null) msg += ", farewellsub='" + t.subtitle + "'";
|
if (t.subtitle != null) msg += ", farewellsub:\"" + t.subtitle + "\"";
|
||||||
}
|
}
|
||||||
sender.sendMessage(msg);
|
sender.sendMessage(msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue