SteamWar/BungeeCore
Archiviert
13
2

rework-BauServerHelp #152

Manuell gemergt
Lixfel hat 5 Commits von rework-BauServerHelp nach master 2020-12-07 21:06:18 +01:00 zusammengeführt
Nur Änderungen aus Commit 6c68aab3dd werden angezeigt - Alle Commits anzeigen

Datei anzeigen

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