mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05: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:
1 parent
1c6adc1587
commit
3648fb571d
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user