9
0
mirror of https://github.com/Auxilor/EcoQuests.git synced 2025-12-20 15:39:21 +00:00

Fixed tabcompletion

This commit is contained in:
Auxilor
2023-08-08 21:19:14 +01:00
parent 5aa08fd9e9
commit af6b7a111a
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class CommandReset(plugin: EcoPlugin) : PluginCommand(
if (args.size == 2) { if (args.size == 2) {
StringUtil.copyPartialMatches( StringUtil.copyPartialMatches(
args[1], args[1],
Quests.values().map { it.name }, Quests.values().map { it.id },
completions completions
) )
} }

View File

@@ -48,7 +48,7 @@ class CommandStart(plugin: EcoPlugin) : PluginCommand(
if (args.size == 2) { if (args.size == 2) {
StringUtil.copyPartialMatches( StringUtil.copyPartialMatches(
args[1], args[1],
Quests.values().map { it.name }, Quests.values().map { it.id },
completions completions
) )
} }