13
0
geforkt von Mirrors/Paper

SPIGOT-3684: Team#setColor does not trigger scoreboard update

Dieser Commit ist enthalten in:
md_5 2017-12-08 09:31:20 +11:00
Ursprung d063cd0d3b
Commit e46898a5e8

Datei anzeigen

@ -85,6 +85,7 @@ final class CraftTeam extends CraftScoreboardComponent implements Team {
CraftScoreboard scoreboard = checkState(); CraftScoreboard scoreboard = checkState();
team.setColor(CraftChatMessage.getColor(color)); team.setColor(CraftChatMessage.getColor(color));
scoreboard.board.handleTeamChanged(team); // SPIGOT-3684 - backing team fires this for prefix/suffix but not colour
} }
public boolean allowFriendlyFire() throws IllegalStateException { public boolean allowFriendlyFire() throws IllegalStateException {