13
0
geforkt von Mirrors/Paper

Fix MOTD new line support (#3756)

Dieser Commit ist enthalten in:
Callum 2020-07-02 13:58:39 +01:00
Ursprung 85408c2f74
Commit c09194971e

Datei anzeigen

@ -155,7 +155,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ ServerPing ping = new ServerPing();
+
+ // Description
+ ping.setMOTD(CraftChatMessage.fromString(event.getMotd())[0]);
+ ping.setMOTD(CraftChatMessage.fromString(event.getMotd(), true)[0]);
+
+ // Players
+ if (!event.shouldHidePlayers()) {