From a1ab86d8cb5e264c2a4032c3729407534d21d33a Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 29 Aug 2018 07:26:59 +1000 Subject: [PATCH] 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 7f710e36ba..4154b754e7 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 {