-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.13.2
-
None
-
Java 1.8, Windows 7 Ultimate
-
Unconfirmed
As it is in the title, the problem is when I try to change the color of my name with the scoreboard, it doesn't change it, but it is white. This error also occurred in MC 1.13.1 and 1.13.2 and not in versions 1.12 and below.
The code basics are the method of retrieving player etc... all right.
The code is:
Scoreboard tboard = player.getScoreboard(); Team team = tboard.getTeam(player.getName()) == null ? tboard.registerNewTeam(player.getName()) : tboard.getTeam(player.getName()); team.setNameTagVisibility(NameTagVisibility.ALWAYS); team.setPrefix(ChatColor.translateAlternateColorCodes('&', "&c&lO&6 ")); team.setSuffix(""); player.setScoreboard(tboard);