diff --git a/src/main/java/dev/efekos/arn/Arn.java b/src/main/java/dev/efekos/arn/Arn.java index 92294c5..0acd2de 100644 --- a/src/main/java/dev/efekos/arn/Arn.java +++ b/src/main/java/dev/efekos/arn/Arn.java @@ -438,6 +438,9 @@ private void registerCommands() throws ArnException { if (builder != null) nodes.add(builder); } + for (CommandAnnotationLiteral lit : literals) + if(lit.getOffset()==nonnullResolvers.size()) nodes.add(Commands.literal(lit.getLiteral())); + com.mojang.brigadier.Command lambda = commandContext -> { CommandSender sender = commandContext.getSource().getBukkitSender();