SPIGOT-4321: Team#getSuffix returns the prefix

This commit is contained in:
md_5 2018-08-29 07:26:59 +10:00
parent 9636bb8d77
commit a1ab86d8cb

View file

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