slight fix on rank manager cuz i forgot sth
This commit is contained in:
parent
ce2c7df7dc
commit
0726441da7
2 changed files with 1 additions and 2 deletions
|
@ -14,6 +14,5 @@ public class BelowNameManager {
|
||||||
obj.setDisplayName(ChatColor.RED + "❤");
|
obj.setDisplayName(ChatColor.RED + "❤");
|
||||||
player.setScoreboard(board);
|
player.setScoreboard(board);
|
||||||
player.setHealth(player.getHealth());
|
player.setHealth(player.getHealth());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class RankManager {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
for(Player player : Bukkit.getOnlinePlayers()) {
|
for(Player player : Bukkit.getOnlinePlayers()) {
|
||||||
if(player.getUniqueId() != uuid) {
|
if(player.hasPlayedBefore()) {
|
||||||
main.getNameTagManager().removeTag(player);
|
main.getNameTagManager().removeTag(player);
|
||||||
main.getNameTagManager().newTag(player);
|
main.getNameTagManager().newTag(player);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue