mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
SPIGOT-3684: Team#setColor does not trigger scoreboard update
This commit is contained in:
1 parent
d063cd0d3b
commit
e46898a5e8
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user