diff --git a/src/main/java/com/night/nullvalkyrie/Rank/BelowNameManager.java b/src/main/java/com/night/nullvalkyrie/Rank/BelowNameManager.java index 3a6f3d4..02ac5d8 100644 --- a/src/main/java/com/night/nullvalkyrie/Rank/BelowNameManager.java +++ b/src/main/java/com/night/nullvalkyrie/Rank/BelowNameManager.java @@ -14,6 +14,5 @@ public class BelowNameManager { obj.setDisplayName(ChatColor.RED + "❤"); player.setScoreboard(board); player.setHealth(player.getHealth()); - } } diff --git a/src/main/java/com/night/nullvalkyrie/Rank/RankManager.java b/src/main/java/com/night/nullvalkyrie/Rank/RankManager.java index 9e9b00b..65001d4 100644 --- a/src/main/java/com/night/nullvalkyrie/Rank/RankManager.java +++ b/src/main/java/com/night/nullvalkyrie/Rank/RankManager.java @@ -38,7 +38,7 @@ public class RankManager { e.printStackTrace(); } for(Player player : Bukkit.getOnlinePlayers()) { - if(player.getUniqueId() != uuid) { + if(player.hasPlayedBefore()) { main.getNameTagManager().removeTag(player); main.getNameTagManager().newTag(player); }