From c09194971e779439c7a20695f62ee630d2af3da0 Mon Sep 17 00:00:00 2001 From: Callum <38501234+calumari@users.noreply.github.com> Date: Thu, 2 Jul 2020 13:58:39 +0100 Subject: [PATCH] Fix MOTD new line support (#3756) --- .../Implement-extended-PaperServerListPingEvent.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Implement-extended-PaperServerListPingEvent.patch b/Spigot-Server-Patches/Implement-extended-PaperServerListPingEvent.patch index cfb600ded0..059115c5e6 100644 --- a/Spigot-Server-Patches/Implement-extended-PaperServerListPingEvent.patch +++ b/Spigot-Server-Patches/Implement-extended-PaperServerListPingEvent.patch @@ -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()) {