9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2025-12-31 21:06:40 +00:00

Fixed weird code

This commit is contained in:
Auxilor
2021-10-03 14:39:05 +01:00
parent 4af4d82737
commit 17da1e8e37

View File

@@ -57,7 +57,7 @@ class CommandReset(plugin: EcoPlugin) :
if (args.size == 1) {
StringUtil.copyPartialMatches(
args[0],
Bukkit.getOnlinePlayers().map { player -> player.name }.toCollection(ArrayList()),
Bukkit.getOnlinePlayers().map { player -> player.name }.toMutableList(),
completions
)
return@TabCompleteHandler completions