9
0
mirror of https://github.com/Auxilor/EcoJobs.git synced 2025-12-23 17:09:27 +00:00

Hardest fix in my life

This commit is contained in:
_OfTeN_
2022-10-29 15:49:50 +03:00
parent 17f471228d
commit e27077dd71

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
)