summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-29 07:26:59 +1000
committermd_5 <git@md-5.net>2018-08-29 07:26:59 +1000
commita1ab86d8cb5e264c2a4032c3729407534d21d33a (patch)
tree5ef6c59f0c276991b59d6688a2c2687a074c6265
parent9636bb8d77ea0463b9fa9c9e08787b6ee843eb1c (diff)
downloadcraftbukkit-a1ab86d8cb5e264c2a4032c3729407534d21d33a.tar
craftbukkit-a1ab86d8cb5e264c2a4032c3729407534d21d33a.tar.gz
craftbukkit-a1ab86d8cb5e264c2a4032c3729407534d21d33a.tar.lz
craftbukkit-a1ab86d8cb5e264c2a4032c3729407534d21d33a.tar.xz
craftbukkit-a1ab86d8cb5e264c2a4032c3729407534d21d33a.zip
SPIGOT-4321: Team#getSuffix returns the prefix
-rw-r--r--src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
index 7f710e36..4154b754 100644
--- a/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
+++ b/src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java
@@ -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 {