diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 20 |
1 files changed, 10 insertions, 10 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<User>, IReplyTo, IUser nickname.append(ess.getSettings().getNicknamePrefix()).append(nick); } - if (addprefixsuffix && ess.getSettings().addPrefixSuffix()) + if (isOp()) { - if (isOp()) + try { - try - { - nickname.insert(0, ess.getSettings().getOperatorColor().toString()); - } - catch (Exception e) - { - } + nickname.insert(0, ess.getSettings().getOperatorColor().toString()); + nickname.append("§f"); } - + catch (Exception e) + { + } + } + if (addprefixsuffix && ess.getSettings().addPrefixSuffix()) + { if (!ess.getSettings().disablePrefix()) { final String prefix = ess.getPermissionsHandler().getPrefix(base).replace('&', '§'); |