SPIGOT-4321: Team#getSuffix returns the prefix

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-08-29 07:26:59 +10:00
parent e75b0ca57e
commit da45a06d52

View File

@@ -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 {