mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
Added missed colors to ColouredConsoleSender. Thanks flames!
This commit is contained in:
parent
587b9662c9
commit
c1e85002b6
1 changed files with 11 additions and 7 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue