diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-20 18:36:29 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-20 18:36:29 +0200 |
commit | 06dc9c25af8805243c8b24743d08c215fe8800b3 (patch) | |
tree | 01836440e4b183d264eae12e533a718624c2c08d | |
parent | feb1c53004feb2b258adbb990b1f1153fb323582 (diff) | |
download | Essentials-06dc9c25af8805243c8b24743d08c215fe8800b3.tar Essentials-06dc9c25af8805243c8b24743d08c215fe8800b3.tar.gz Essentials-06dc9c25af8805243c8b24743d08c215fe8800b3.tar.lz Essentials-06dc9c25af8805243c8b24743d08c215fe8800b3.tar.xz Essentials-06dc9c25af8805243c8b24743d08c215fe8800b3.zip |
Revert "I don't think we need this anymore."
This reverts commit 83b71eef5ed18ee352707c06b40d4c2133f0cdf6.
Also inverted it, so it works now again.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/User.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java index bba843999..b1392a2e6 100644 --- a/Essentials/src/com/earth2me/essentials/User.java +++ b/Essentials/src/com/earth2me/essentials/User.java @@ -251,6 +251,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser nickname.insert(0, prefix); nickname.append(suffix); + if (suffix.length() < 2 || !suffix.substring(suffix.length() - 2, suffix.length() - 1).equals("§")) + { + nickname.append("§f"); + } return nickname.toString(); } |