From b512a243e71034dc56ecdc37281d18e39b21109f Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 4 Mar 2012 15:43:00 +1100 Subject: [PATCH] Fix op colours, which KHobbits broke! --- .../src/com/earth2me/essentials/User.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index 125962da9..f89f1a5ad 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -262,19 +262,19 @@ public class User extends UserData implements Comparable, IReplyTo, IUser nickname.append(ess.getSettings().getNicknamePrefix()).append(nick); } + if (isOp()) + { + try + { + nickname.insert(0, ess.getSettings().getOperatorColor().toString()); + nickname.append("§f"); + } + catch (Exception e) + { + } + } if (addprefixsuffix && ess.getSettings().addPrefixSuffix()) { - if (isOp()) - { - try - { - nickname.insert(0, ess.getSettings().getOperatorColor().toString()); - } - catch (Exception e) - { - } - } - if (!ess.getSettings().disablePrefix()) { final String prefix = ess.getPermissionsHandler().getPrefix(base).replace('&', '§');