Skip to content

Commit

Permalink
Add <R> and <W> to the dB color list
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 6, 2015
1 parent 8eb3aa8 commit 1378914
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -125,7 +125,9 @@ public static void report(Debuggable caller, String name, String report) {
((BukkitScriptEntryData)((ScriptEntry) caller).entryData).getPlayer().getPlayerEntity()
.sendRawMessage(message.replace("<Y>", ChatColor.YELLOW.toString())
.replace("<G>", ChatColor.DARK_GRAY.toString())
.replace("<A>", ChatColor.AQUA.toString()));
.replace("<A>", ChatColor.AQUA.toString())
.replace("<R>", ChatColor.DARK_RED.toString())
.replace("<W>", ChatColor.WHITE.toString()));
}
}
}
Expand Down Expand Up @@ -419,7 +421,9 @@ public static void sendMessage(String string) {
string = TagManager.cleanOutputFully(string
.replace("<Y>", ChatColor.YELLOW.toString())
.replace("<G>", ChatColor.DARK_GRAY.toString())
.replace("<A>", ChatColor.AQUA.toString()));
.replace("<A>", ChatColor.AQUA.toString())
.replace("<R>", ChatColor.DARK_RED.toString())
.replace("<W>", ChatColor.WHITE.toString()));

// 'Hack-fix' for disallowing multiple 'footers' to print in a row
if (string.equals(ChatColor.LIGHT_PURPLE + "+---------------------+")) {
Expand Down

0 comments on commit 1378914

Please sign in to comment.