diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReset.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReset.kt index ecdee00..d6f13fc 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReset.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoskills/commands/CommandReset.kt @@ -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