summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2011-08-10 20:20:44 -0400
committerEvilSeph <evilseph@gmail.com>2011-08-12 21:19:52 -0400
commitc1e85002b69b4d72b93ff75d131d7eea2600607c (patch)
tree74a25a75cf1e40de478a26b04aeee7e62a5f9f48 /src/main/java
parent587b9662c98773812713e38100e2636668b99227 (diff)
downloadcraftbukkit-c1e85002b69b4d72b93ff75d131d7eea2600607c.tar
craftbukkit-c1e85002b69b4d72b93ff75d131d7eea2600607c.tar.gz
craftbukkit-c1e85002b69b4d72b93ff75d131d7eea2600607c.tar.lz
craftbukkit-c1e85002b69b4d72b93ff75d131d7eea2600607c.tar.xz
craftbukkit-c1e85002b69b4d72b93ff75d131d7eea2600607c.zip
Added missed colors to ColouredConsoleSender. Thanks flames!
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/command/ColouredConsoleSender.java18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/command/ColouredConsoleSender.java b/src/main/java/org/bukkit/craftbukkit/command/ColouredConsoleSender.java
index 8bf86e0a..4dabe6f0 100644
--- a/src/main/java/org/bukkit/craftbukkit/command/ColouredConsoleSender.java
+++ b/src/main/java/org/bukkit/craftbukkit/command/ColouredConsoleSender.java
@@ -21,16 +21,20 @@ public class ColouredConsoleSender extends ConsoleCommandSender {
this.terminal = reader.getTerminal();
replacements.put(ChatColor.BLACK, ANSICodes.attrib(0));
- replacements.put(ChatColor.RED, ANSICodes.attrib(31));
- replacements.put(ChatColor.DARK_RED, ANSICodes.attrib(31));
- replacements.put(ChatColor.GREEN, ANSICodes.attrib(32));
- replacements.put(ChatColor.DARK_GREEN, ANSICodes.attrib(32));
- replacements.put(ChatColor.YELLOW, ANSICodes.attrib(33));
- replacements.put(ChatColor.BLUE, ANSICodes.attrib(34));
replacements.put(ChatColor.DARK_BLUE, ANSICodes.attrib(34));
- replacements.put(ChatColor.LIGHT_PURPLE, ANSICodes.attrib(35));
+ replacements.put(ChatColor.DARK_GREEN, ANSICodes.attrib(32));
+ replacements.put(ChatColor.DARK_AQUA, ANSICodes.attrib(36));
+ replacements.put(ChatColor.DARK_RED, ANSICodes.attrib(31));
replacements.put(ChatColor.DARK_PURPLE, ANSICodes.attrib(35));
+ replacements.put(ChatColor.GOLD, ANSICodes.attrib(33));
+ replacements.put(ChatColor.GRAY, ANSICodes.attrib(37));
+ replacements.put(ChatColor.DARK_GRAY, ANSICodes.attrib(0));
+ replacements.put(ChatColor.BLUE, ANSICodes.attrib(34));
+ replacements.put(ChatColor.GREEN, ANSICodes.attrib(32));
replacements.put(ChatColor.AQUA, ANSICodes.attrib(36));
+ replacements.put(ChatColor.RED, ANSICodes.attrib(31));
+ replacements.put(ChatColor.LIGHT_PURPLE, ANSICodes.attrib(35));
+ replacements.put(ChatColor.YELLOW, ANSICodes.attrib(33));
replacements.put(ChatColor.WHITE, ANSICodes.attrib(37));
}