mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-26 16:39:45 +00:00
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1234 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
e547b0f006
commit
c98d81bf8c
1 changed files with 0 additions and 2 deletions
|
@ -708,9 +708,7 @@ public class User extends PlayerExtension implements Comparable<User>, IReplyTo
|
||||||
Essentials ess = Essentials.getStatic();
|
Essentials ess = Essentials.getStatic();
|
||||||
String name = Essentials.getSettings().isCommandDisabled("nick") ? getName() : ess.readNickname(this);
|
String name = Essentials.getSettings().isCommandDisabled("nick") ? getName() : ess.readNickname(this);
|
||||||
if (isOp() && ess.getConfiguration().getString("ops-name-color", "c").matches("^[0-9a-f]$"))
|
if (isOp() && ess.getConfiguration().getString("ops-name-color", "c").matches("^[0-9a-f]$"))
|
||||||
{
|
|
||||||
name = "§" + ess.getConfiguration().getString("ops-name-color", "c") + name + "§f";
|
name = "§" + ess.getConfiguration().getString("ops-name-color", "c") + name + "§f";
|
||||||
}
|
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue