SPIGOT-4321: Team#getSuffix returns the prefix
This commit is contained in:
parent
9636bb8d77
commit
a1ab86d8cb
@ -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…
x
Reference in New Issue
Block a user