Begin fixing command system

This commit is contained in:
spacerocket62
2022-01-26 21:28:30 -08:00
parent edef4d8558
commit 587ea8f352
27 changed files with 130 additions and 298 deletions

View File

@ -172,12 +172,7 @@ public class PlexUtils
public static List<String> getPlayerNameList()
{
List<String> names = new ArrayList<>();
for (Player player : Bukkit.getOnlinePlayers())
{
names.add(player.getName());
}
return names;
return Bukkit.getOnlinePlayers().stream().map(Player::getName).collect(Collectors.toList());
}
public static void broadcast(String s)