Strip colours for console output
This commit is contained in:
parent
02d1de8c3c
commit
ebf854c93e
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user