mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 17:15:07 +02:00
Half-revert double backflip. 10 points.
(op prefix changes that md-5 broke, thinking I broke op prefixes)
This commit is contained in:
@@ -262,12 +262,15 @@ 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();
|
||||||
nickname.append("§f");
|
if (opPrefix.length() > 0) {
|
||||||
|
nickname.insert(0, opPrefix);
|
||||||
|
nickname.append("§f");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user