From e46898a5e81426e59f76d0b2f2cfbf446ae20464 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 8 Dec 2017 09:31:20 +1100 Subject: [PATCH] SPIGOT-3684: Team#setColor does not trigger scoreboard update --- src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java index 22bf0655fb..18616fc8db 100644 --- a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java +++ b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java @@ -85,6 +85,7 @@ final class CraftTeam extends CraftScoreboardComponent implements Team { CraftScoreboard scoreboard = checkState(); 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 {