From a1ab86d8cb5e264c2a4032c3729407534d21d33a Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 29 Aug 2018 07:26:59 +1000 Subject: SPIGOT-4321: Team#getSuffix returns the prefix --- src/main/java/org/bukkit/craftbukkit/scoreboard/CraftTeam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3