diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/commands/PaperBrigadierCommand.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/commands/PaperBrigadierCommand.java index f88c3bf..eb7111b 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/commands/PaperBrigadierCommand.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/commands/PaperBrigadierCommand.java @@ -145,6 +145,11 @@ public abstract class PaperBrigadierCommand extends BrigadierCommand c.getName().equals(commandNode.getName())); + } + registeredAliases = new HashSet<>(event.registrar().register(commandNode, description, List.of(aliases))); if (registrationPolicy == RegistrationPolicy.ALL) {