Fixed some issues with the new commands

This commit is contained in:
Risto Lahtela 2020-09-01 11:53:22 +03:00
parent c3250892d8
commit f8e924060b
3 changed files with 2 additions and 3 deletions

View File

@ -289,7 +289,7 @@ public class PlanCommand {
private Subcommand webUsersCommand() {
return Subcommand.builder()
.aliases("users", "webusers")
.aliases("users", "webusers", "web")
.requirePermission(Permissions.USERS)
.description(locale.getString(HelpLang.USERS))
.inDepthDescription(locale.getString(DeepHelpLang.USERS))

View File

@ -44,7 +44,6 @@ public class HelpFormatter {
String m = colors.getMainColor();
String s = colors.getSecondaryColor();
String asString = subcommands.stream()
.filter(cmd -> cmd.getDescription() != null)
.map(cmd ->
m + mainCommand + " " + cmd.getPrimaryAlias() +
(sender.supportsChatEvents() ? "" : " " + cmd.getArgumentsAsString()) + "***" +

View File

@ -72,7 +72,7 @@ public enum CommandLang implements Lang {
LINK_REGISTER("Cmd - Link Register", "Register page: "),
HEADER_HELP("Cmd Header - Help", "> §2/${0} Help"),
FOOTER_HELP("Cmd Footer - Help", "> §7Hover over command or arguments to learn more about them."),
FOOTER_HELP("Cmd Footer - Help", "§7Hover over command or arguments to learn more about them."),
HEADER_SEARCH("Cmd Header - Search", "> §2${0} Results for §f${1}§2:"),
HEADER_ANALYSIS("Cmd Header - Analysis", "> §2Analysis Results"),
HEADER_INFO("Cmd Header - Info", "> §2Player Analytics"),