mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
Fix wrapper arguments not forwarding node properties
This commit is contained in:
parent
c4479dabbd
commit
10a2967f33
@ -305,6 +305,11 @@ public abstract class Argument<T> {
|
||||
public String parser() {
|
||||
return argument.parser();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte @Nullable [] nodeProperties() {
|
||||
return argument.nodeProperties();
|
||||
}
|
||||
}
|
||||
|
||||
private static final class ArgumentFilter<T> extends Argument<T> {
|
||||
@ -334,5 +339,10 @@ public abstract class Argument<T> {
|
||||
public String parser() {
|
||||
return argument.parser();
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte @Nullable [] nodeProperties() {
|
||||
return argument.nodeProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user