3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-17 12:00:07 +01:00

SPIGOT-4321: Team#getSuffix returns the prefix

Dieser Commit ist enthalten in:
md_5 2018-08-29 07:26:59 +10:00
Ursprung 9636bb8d77
Commit a1ab86d8cb

Datei anzeigen

@ -61,7 +61,7 @@ final class CraftTeam extends CraftScoreboardComponent implements Team {
public String getSuffix() throws IllegalStateException { public String getSuffix() throws IllegalStateException {
CraftScoreboard scoreboard = checkState(); CraftScoreboard scoreboard = checkState();
return CraftChatMessage.fromComponent(team.getPrefix()); return CraftChatMessage.fromComponent(team.getSuffix());
} }
public void setSuffix(String suffix) throws IllegalStateException, IllegalArgumentException { public void setSuffix(String suffix) throws IllegalStateException, IllegalArgumentException {