Clean up some Bukkit code

This commit is contained in:
Alexander Söderberg 2020-09-07 12:12:56 +02:00
parent 62abfa5e95
commit a8d3fa7c5e
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
7 changed files with 82 additions and 6 deletions

View file

@ -136,4 +136,15 @@ public abstract class CommandManager<C extends CommandSender> {
return this.commandRegistrationHandler;
}
/**
* Create a new command builder
*
* @param name Command name
* @return Builder instance
*/
@Nonnull
public Command.Builder<C> commandBuilder(@Nonnull final String name) {
return Command.newBuilder(name);
}
}