mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 15:44:49 +01:00
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:
parent
1c6adc1587
commit
3648fb571d
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue