mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-19 05:51:58 +01:00
Strip colours for console output
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
d1bbdaf377
commit
4f6c65d684
@ -6,7 +6,7 @@ package org.bukkit.command;
|
||||
*/
|
||||
public class ConsoleCommandSender implements CommandSender {
|
||||
public void sendMessage(String message) {
|
||||
System.out.println(message);
|
||||
System.out.println(message.replaceAll("(?i)\u00A7[0-F]", ""));
|
||||
}
|
||||
|
||||
public boolean isOp() {
|
||||
|
Loading…
Reference in New Issue
Block a user