mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-21 11:45:25 +01:00
Add CommandMeta on Velocity
This commit is contained in:
parent
751ab29c36
commit
2614eaf70a
@ -51,6 +51,9 @@ public class VelocityCommandHandler implements ICommandHandler {
|
||||
@Override
|
||||
public void registerCommand(GameCommand command) {
|
||||
LiteralCommandNode<CommandSource> node = BrigadierUtil.convertToBrigadier(command, this::getSender);
|
||||
discordSRV.proxy().getCommandManager().register(new BrigadierCommand(node));
|
||||
discordSRV.proxy().getCommandManager().register(
|
||||
discordSRV.proxy().getCommandManager().getCommandMeta(command.getLabel()),
|
||||
new BrigadierCommand(node)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user