mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 11:15:57 -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 void sendMessage(String message) {
|
||||
System.out.println(message);
|
||||
System.out.println(message.replaceAll("(?i)\u00A7[0-F]", ""));
|
||||
}
|
||||
|
||||
public boolean isOp() {
|
||||
|
Reference in New Issue
Block a user