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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user