geforkt von Mirrors/Paper
team color parameter may be null, causing NPE
Dieser Commit ist enthalten in:
Ursprung
85db1f6205
Commit
e8ad5b0aa4
@ -3446,8 +3446,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ CraftScoreboard scoreboard = checkState();
|
+ CraftScoreboard scoreboard = checkState();
|
||||||
+ if (color == null) {
|
+ if (color == null) {
|
||||||
+ this.team.setColor(net.minecraft.ChatFormatting.RESET);
|
+ this.team.setColor(net.minecraft.ChatFormatting.RESET);
|
||||||
|
+ } else {
|
||||||
|
+ this.team.setColor(io.papermc.paper.adventure.PaperAdventure.asVanilla(color));
|
||||||
+ }
|
+ }
|
||||||
+ team.setColor(io.papermc.paper.adventure.PaperAdventure.asVanilla(color));
|
|
||||||
+ }
|
+ }
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren