mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-28 01:10:35 +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 {
|
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue