mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-19 11:39:50 +01:00
Strip colours for console output
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
d1bbdaf377
commit
4f6c65d684
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue