summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-20 18:36:29 +0200
committersnowleo <schneeleo@gmail.com>2011-07-20 18:36:29 +0200
commit06dc9c25af8805243c8b24743d08c215fe8800b3 (patch)
tree01836440e4b183d264eae12e533a718624c2c08d
parentfeb1c53004feb2b258adbb990b1f1153fb323582 (diff)
downloadEssentials-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.java4
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();
}