Add BungeeCommandPreprocessor

This commit is contained in:
jmp 2020-10-20 16:38:00 -07:00 committed by Alexander Söderberg
parent f73b713658
commit 7cb1661f42
6 changed files with 89 additions and 82 deletions

View file

@ -111,8 +111,8 @@ public final class ExamplePlugin extends Plugin {
.meta("description", "Confirm a pending command")
.handler(this.confirmationManager.createConfirmationExecutionHandler()));
final CommandArgument<CommandSender, ProxiedPlayer> playerArgument = PlayerArgument.of("player", this.getProxy());
final CommandArgument<CommandSender, ServerInfo> serverArgument = ServerArgument.of("server", this.getProxy());
final CommandArgument<CommandSender, ProxiedPlayer> playerArgument = PlayerArgument.of("player");
final CommandArgument<CommandSender, ServerInfo> serverArgument = ServerArgument.of("server");
//
// Create a player command