From 10a2967f334b38f6ae5394515394beac7984a83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noel=20N=C3=A9meth?= Date: Tue, 5 Jul 2022 20:25:09 +0200 Subject: [PATCH] Fix wrapper arguments not forwarding node properties --- .../server/command/builder/arguments/Argument.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/net/minestom/server/command/builder/arguments/Argument.java b/src/main/java/net/minestom/server/command/builder/arguments/Argument.java index 19b8e7f65..ff5f6c7d8 100644 --- a/src/main/java/net/minestom/server/command/builder/arguments/Argument.java +++ b/src/main/java/net/minestom/server/command/builder/arguments/Argument.java @@ -305,6 +305,11 @@ public abstract class Argument { public String parser() { return argument.parser(); } + + @Override + public byte @Nullable [] nodeProperties() { + return argument.nodeProperties(); + } } private static final class ArgumentFilter extends Argument { @@ -334,5 +339,10 @@ public abstract class Argument { public String parser() { return argument.parser(); } + + @Override + public byte @Nullable [] nodeProperties() { + return argument.nodeProperties(); + } } }