mirror of
https://github.com/Auxilor/EcoQuests.git
synced 2025-12-20 15:39:21 +00:00
Fixed tabcompletion
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user