mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-25 20:16:13 +01:00
Tabcomplete should not send usage if no matches are found
This commit is contained in:
parent
4f1e9c4446
commit
374cca2b22
@ -102,8 +102,6 @@ public class TabComplete implements TabCompleter {
|
||||
StringUtil.copyPartialMatches(PartOfCommand, temp, completionList);
|
||||
}
|
||||
|
||||
if (completionList.isEmpty())
|
||||
Jobs.getCommandManager().sendUsage(sender, args[0].toLowerCase());
|
||||
Collections.sort(completionList);
|
||||
return completionList;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: Jobs
|
||||
description: Jobs Plugin for the BukkitAPI
|
||||
main: com.gamingmesh.jobs.Jobs
|
||||
version: 4.5.4
|
||||
version: 4.6.0
|
||||
api-version: 1.13
|
||||
website: https://www.spigotmc.org/resources/jobs-reborn.4216/
|
||||
author: phrstbrn
|
||||
|
Loading…
Reference in New Issue
Block a user