diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/paper/commands/PaperBrigadier.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/paper/commands/PaperBrigadier.java index f51d775..af27872 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/paper/commands/PaperBrigadier.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/reflect/wrapper/paper/commands/PaperBrigadier.java @@ -14,7 +14,7 @@ import static fr.pandacube.lib.util.ThrowableUtil.wrapReflectEx; public class PaperBrigadier extends ReflectWrapperTyped> { public static final ReflectClass REFLECT = wrapEx(() -> Reflect.ofClass("io.papermc.paper.command.brigadier.PaperBrigadier")); - private static final ReflectMethod wrapNode = wrapEx(() -> REFLECT.method("wrapNode")); + private static final ReflectMethod wrapNode = wrapEx(() -> REFLECT.method("wrapNode", CommandNode.class)); public static Command wrapNode(CommandNode node) {