diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TextUtil.java b/src/main/java/com/massivecraft/factions/zcore/util/TextUtil.java index 1b271c0d..335d8f92 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TextUtil.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TextUtil.java @@ -65,10 +65,14 @@ public class TextUtil { text = ""; } ChatColor tempColor = ChatColor.getByChar(chars[i + 1]); - if (tempColor.isColor()) { - color = tempColor; - } else { - style = tempColor; + if (tempColor != null) { + if (tempColor == ChatColor.RESET) { + color = ChatColor.WHITE; + } else if (tempColor.isColor()) { + color = tempColor; + } else { + style = tempColor; + } } i++; // skip color char } else {