mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-3684: Team#setColor does not trigger scoreboard update
By: md_5 <git@md-5.net>
This commit is contained in:
parent
41e68bf772
commit
1a8d9ecfc8
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue