9
0
mirror of https://github.com/Auxilor/EcoJobs.git synced 2026-01-06 15:51:59 +00:00

Merge pull request #12 from 0ft3n/master

/jobs join tabcompletion fix (hardest fix in my life)
This commit is contained in:
Will FP
2022-11-01 16:18:08 +00:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ class CommandJoin(plugin: EcoPlugin) : Subcommand(plugin, "join", "ecojobs.comma
if (args.size == 1) {
StringUtil.copyPartialMatches(
args[1],
args[0],
Jobs.values().filter { sender.hasJob(it) }.map { it.id },
completions
)