geforkt von Mirrors/Paper
SPIGOT-3684: Team#setColor does not trigger scoreboard update
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
41e68bf772
Commit
1a8d9ecfc8
@ -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 {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren