mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 12:23:59 +00:00
Half-revert double backflip. 10 points.
(op prefix changes that md-5 broke, thinking I broke op prefixes)
This commit is contained in:
parent
b512a243e7
commit
e28f1b1be3
1 changed files with 6 additions and 3 deletions
|
@ -262,13 +262,16 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
|
||||||
nickname.append(ess.getSettings().getNicknamePrefix()).append(nick);
|
nickname.append(ess.getSettings().getNicknamePrefix()).append(nick);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isOp())
|
if (addprefixsuffix && isOp())
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
nickname.insert(0, ess.getSettings().getOperatorColor().toString());
|
final String opPrefix = ess.getSettings().getOperatorColor().toString();
|
||||||
|
if (opPrefix.length() > 0) {
|
||||||
|
nickname.insert(0, opPrefix);
|
||||||
nickname.append("§f");
|
nickname.append("§f");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue