From 1dc1506befb96c6bafcf31e23471a896c2744459 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 19 Dec 2011 16:22:59 +0000 Subject: [PATCH] Make rcon .sendMessage each write on a new line. This fixes BUKKIT-353. Thanks to ks07 for the pull req. By: Nathan Adams --- .../craftbukkit/command/CraftRemoteConsoleCommandSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/command/CraftRemoteConsoleCommandSender.java b/paper-server/src/main/java/org/bukkit/craftbukkit/command/CraftRemoteConsoleCommandSender.java index 68acced181..f0754102d2 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/command/CraftRemoteConsoleCommandSender.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/command/CraftRemoteConsoleCommandSender.java @@ -9,7 +9,7 @@ public class CraftRemoteConsoleCommandSender extends ServerCommandSender impleme } public void sendMessage(String message) { - RemoteControlCommandListener.a.sendMessage(message); + RemoteControlCommandListener.a.sendMessage(message + "\n"); // Send a newline after each message, to preserve formatting. } public String getName() {