Fix HelpCommand
Dieser Commit ist enthalten in:
Ursprung
4ba2b56d19
Commit
6c68aab3dd
@ -33,7 +33,7 @@ public class HelpCommand extends BasicCommand {
|
||||
|
||||
@Override
|
||||
public void execute(CommandSender sender, String[] args) {
|
||||
if (args.length != 1) {
|
||||
if (args.length < 1) {
|
||||
Message.send("HELP_LOBBY", true, sender, ChatMessageType.SYSTEM, Message.parse("HELP_LOBBY_HOVER", sender), new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/l"));
|
||||
Message.send("HELP_BAU", true, sender, ChatMessageType.SYSTEM, Message.parse("HELP_BAU_HOVER", sender), new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/bau"));
|
||||
Message.send("HELP_BAUSERVER", true, sender, ChatMessageType.SYSTEM, Message.parse("HELP_BAUSERVER_HOVER", sender), new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/help bauserver"));
|
||||
@ -56,7 +56,7 @@ public class HelpCommand extends BasicCommand {
|
||||
}
|
||||
|
||||
private static void bauHelpGroup(ProxiedPlayer p, String[] args) {
|
||||
if (args.length != 2) {
|
||||
if (args.length < 2) {
|
||||
sendBauHelpGroup(p);
|
||||
return;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren