mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 01:17:47 +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() {
|
public String parser() {
|
||||||
return argument.parser();
|
return argument.parser();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public byte @Nullable [] nodeProperties() {
|
||||||
|
return argument.nodeProperties();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final class ArgumentFilter<T> extends Argument<T> {
|
private static final class ArgumentFilter<T> extends Argument<T> {
|
||||||
@ -334,5 +339,10 @@ public abstract class Argument<T> {
|
|||||||
public String parser() {
|
public String parser() {
|
||||||
return argument.parser();
|
return argument.parser();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public byte @Nullable [] nodeProperties() {
|
||||||
|
return argument.nodeProperties();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user