mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
A wild Velocity 5.0.0 appears!
This commit is contained in:
@@ -43,7 +43,7 @@ public interface CommandManager {
|
||||
* @param otherAliases additional aliases
|
||||
* @throws IllegalArgumentException if one of the given aliases is already registered, or
|
||||
* the given command does not implement a registrable {@link Command} subinterface
|
||||
* @see Command for a list of registrable {@link Command} subinterfaces
|
||||
* @see Command for a list of registrable subinterfaces
|
||||
*/
|
||||
default void register(String alias, Command command, String... otherAliases) {
|
||||
register(metaBuilder(alias).aliases(otherAliases).build(), command);
|
||||
@@ -64,7 +64,7 @@ public interface CommandManager {
|
||||
* @param command the command to register
|
||||
* @throws IllegalArgumentException if one of the given aliases is already registered, or
|
||||
* the given command does not implement a registrable {@link Command} subinterface
|
||||
* @see Command for a list of registrable {@link Command} subinterfaces
|
||||
* @see Command for a list of registrable subinterfaces
|
||||
*/
|
||||
void register(CommandMeta meta, Command command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user