diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 18:26:31 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-01 18:26:31 +0000 |
commit | ebf854c93e57e0228d112534642d683f76a6c962 (patch) | |
tree | e831e0067e0f2f4d6c7935b6e2c1a9d2484c5b4f /src | |
parent | 02d1de8c3cd6de9135e1c0a1157d606def2bd655 (diff) | |
download | bukkit-ebf854c93e57e0228d112534642d683f76a6c962.tar bukkit-ebf854c93e57e0228d112534642d683f76a6c962.tar.gz bukkit-ebf854c93e57e0228d112534642d683f76a6c962.tar.lz bukkit-ebf854c93e57e0228d112534642d683f76a6c962.tar.xz bukkit-ebf854c93e57e0228d112534642d683f76a6c962.zip |
Strip colours for console output
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/command/ConsoleCommandSender.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/command/ConsoleCommandSender.java b/src/main/java/org/bukkit/command/ConsoleCommandSender.java index b8f805ce..896c2970 100644 --- a/src/main/java/org/bukkit/command/ConsoleCommandSender.java +++ b/src/main/java/org/bukkit/command/ConsoleCommandSender.java @@ -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() { |