mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
SPIGOT-4321: Team#getSuffix returns the prefix
This commit is contained in:
parent
9636bb8d77
commit
a1ab86d8cb
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue