Make rcon .sendMessage each write on a new line. This fixes BUKKIT-353. Thanks to ks07 for the pull req.

This commit is contained in:
Nathan Adams 2011-12-19 16:22:59 +00:00
parent 1c6adc1587
commit 3648fb571d

View File

@ -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() {