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