mirror of
https://github.com/Auxilor/EcoQuests.git
synced 2025-12-19 15:09:22 +00:00
Fixed tabcompletion
This commit is contained in:
@@ -43,7 +43,7 @@ class CommandReset(plugin: EcoPlugin) : PluginCommand(
|
||||
if (args.size == 2) {
|
||||
StringUtil.copyPartialMatches(
|
||||
args[1],
|
||||
Quests.values().map { it.name },
|
||||
Quests.values().map { it.id },
|
||||
completions
|
||||
)
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ class CommandStart(plugin: EcoPlugin) : PluginCommand(
|
||||
if (args.size == 2) {
|
||||
StringUtil.copyPartialMatches(
|
||||
args[1],
|
||||
Quests.values().map { it.name },
|
||||
Quests.values().map { it.id },
|
||||
completions
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user