From ebd83e1f191df983a05596614d6a6f0c5dbf5bb7 Mon Sep 17 00:00:00 2001 From: NuclearW Date: Fri, 18 Jan 2013 13:59:20 -0500 Subject: [PATCH] Support some new stuff in our locale files --- src/main/java/com/gmail/nossr50/locale/LocaleLoader.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/locale/LocaleLoader.java b/src/main/java/com/gmail/nossr50/locale/LocaleLoader.java index 5b5ba163f..512621e7b 100644 --- a/src/main/java/com/gmail/nossr50/locale/LocaleLoader.java +++ b/src/main/java/com/gmail/nossr50/locale/LocaleLoader.java @@ -75,6 +75,12 @@ public class LocaleLoader { input = input.replaceAll("\\Q[[LIGHT_PURPLE]]\\E", ChatColor.LIGHT_PURPLE.toString()); input = input.replaceAll("\\Q[[YELLOW]]\\E", ChatColor.YELLOW.toString()); input = input.replaceAll("\\Q[[WHITE]]\\E", ChatColor.WHITE.toString()); + input = input.replaceAll("\\Q[[BOLD]]\\E", ChatColor.BOLD.toString()); + input = input.replaceAll("\\Q[[UNDERLINE]]\\E", ChatColor.UNDERLINE.toString()); + input = input.replaceAll("\\Q[[ITALIC]]\\E", ChatColor.ITALIC.toString()); + input = input.replaceAll("\\Q[[STRIKE]]\\E", ChatColor.STRIKETHROUGH.toString()); + input = input.replaceAll("\\Q[[MAGIC]]\\E", ChatColor.MAGIC.toString()); + input = input.replaceAll("\\Q[[RESET]]\\E", ChatColor.RESET.toString()); return input; }