From d8ea824b934107924c183a25a04c52f228c72470 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 1 Jul 2020 14:00:02 +1000 Subject: [PATCH] SPIGOT-5913: MOTD no longer supports new line character By: md_5 --- paper-server/nms-patches/PacketStatusListener.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/PacketStatusListener.patch b/paper-server/nms-patches/PacketStatusListener.patch index 97e1a70d4a..d93eee81fe 100644 --- a/paper-server/nms-patches/PacketStatusListener.patch +++ b/paper-server/nms-patches/PacketStatusListener.patch @@ -102,7 +102,7 @@ + + ServerPing ping = new ServerPing(); + ping.setFavicon(event.icon.value); -+ ping.setMOTD(CraftChatMessage.fromString(event.getMotd())[0]); ++ ping.setMOTD(CraftChatMessage.fromString(event.getMotd(), true)[0]); + ping.setPlayerSample(playerSample); + int version = SharedConstants.getGameVersion().getProtocolVersion(); + ping.setServerInfo(new ServerPing.ServerData(minecraftServer.getServerModName() + " " + minecraftServer.getVersion(), version));