Ajout du choix de mise à jour du displayName depuis les permissions dans OffPlayer
This commit is contained in:
parent
ee175f6515
commit
20ea3cca17
@ -117,9 +117,14 @@ public class OffPlayer {
|
||||
|
||||
|
||||
public String getDisplayName() {
|
||||
return getDisplayName(false);
|
||||
}
|
||||
public String getDisplayName(boolean forceRenew) {
|
||||
if (!forceRenew) {
|
||||
Player p = getBukkitOnlinePlayer();
|
||||
if (p != null)
|
||||
return p.getDisplayName();
|
||||
}
|
||||
|
||||
User essU = getEssentialsUser();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user