mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
online leaders will be gold
This commit is contained in:
parent
4e8f49db5b
commit
1f02d9a5a0
@ -347,7 +347,8 @@ public class Party {
|
||||
OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(playerUUID);
|
||||
|
||||
if(offlinePlayer.isOnline() && player.canSee((Player) offlinePlayer)) {
|
||||
coloredNames.add(ChatColor.GREEN + offlinePlayer.getName());
|
||||
ChatColor onlineColor = leader.getUniqueId() == playerUUID ? ChatColor.GOLD : ChatColor.GREEN;
|
||||
coloredNames.add(onlineColor + offlinePlayer.getName());
|
||||
} else {
|
||||
coloredNames.add(ChatColor.DARK_GRAY + members.get(playerUUID));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user