From 09cfb97e32782c9c48462c6380d1275a34055457 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 19 Sep 2022 11:22:49 +0200 Subject: [PATCH] Add own help message --- src/de/steamwar/bungeecore/commands/BauCommand.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/de/steamwar/bungeecore/commands/BauCommand.java b/src/de/steamwar/bungeecore/commands/BauCommand.java index cac71d2..09c5877 100644 --- a/src/de/steamwar/bungeecore/commands/BauCommand.java +++ b/src/de/steamwar/bungeecore/commands/BauCommand.java @@ -45,6 +45,11 @@ public class BauCommand extends SWCommand { super("bau", null, "b", "build", "gs"); } + @Register(help = true) + public void genericHelp(ProxiedPlayer p, String... args) { + HelpCommand.sendBauHelp(ChatSender.of(p)); + } + @Register public void toBau(ProxiedPlayer p, @Mapper("version") @OptionalValue("") int version) { versionSelector(version,