1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 04:25:15 +01:00

Tabcomplete should not send usage if no matches are found

This commit is contained in:
Zrips 2018-07-27 16:32:19 +03:00
parent 4f1e9c4446
commit 374cca2b22
2 changed files with 1 additions and 3 deletions

View File

@ -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;
}

View File

@ -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