From dabcb510342c52485f40b9f0a943f35debe5f14c Mon Sep 17 00:00:00 2001 From: Ali Moghnieh Date: Fri, 24 Jun 2016 11:24:54 +0100 Subject: [PATCH] Allow colour codes in nickname-prefix. --- Essentials/src/com/earth2me/essentials/User.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index b178851af..d8d8e09fd 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -256,7 +256,7 @@ public class User extends UserData implements Comparable, IMessageRecipien } else if (nick.equalsIgnoreCase(getName())) { nickname = nick; } else { - nickname = ess.getSettings().getNicknamePrefix() + nick; + nickname = FormatUtil.replaceFormat(ess.getSettings().getNicknamePrefix()) + nick; suffix = "§r"; }