From 9133bac1541dc4bd515cffc9cf3f23fc0909145c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Thu, 11 Aug 2022 18:22:03 +0200 Subject: [PATCH] Fix localization mistake --- .../beatrice/uhccore/commands/uhccommands/ListCommand.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/wtf/beatrice/uhccore/commands/uhccommands/ListCommand.java b/src/main/java/wtf/beatrice/uhccore/commands/uhccommands/ListCommand.java index c970c61..e1be52f 100644 --- a/src/main/java/wtf/beatrice/uhccore/commands/uhccommands/ListCommand.java +++ b/src/main/java/wtf/beatrice/uhccore/commands/uhccommands/ListCommand.java @@ -5,6 +5,7 @@ import org.bukkit.command.CommandSender; import java.util.ArrayList; import java.util.HashMap; +import java.util.List; public class ListCommand { @@ -25,12 +26,12 @@ public class ListCommand playersPerTeam.put(i, playersInThisTeam); } - commandSender.sendMessage("§6-------[ UHC: Lista Team ]-------"); + commandSender.sendMessage("§6-------[ UHC: Team List ]-------"); for(Integer i : playersPerTeam.keySet()) { String teamName = Cache.teamNames.get(i); int playersInThisTeam = playersPerTeam.get(i).size(); - ArrayListplayersNames = playersPerTeam.get(i); + List playersNames = playersPerTeam.get(i); String playersList = playersNames.toString().replace("[", "").replace("]", "").replace(",", "§7,§r"); commandSender.sendMessage("" + teamName + " §7(§f" + playersInThisTeam + "§7): §f" + playersList); }