Add ConstraintNodeMatcher toString method for use in commands

This commit is contained in:
Luck committed 2020-07-02 10:44:52 +01:00
1 parent 005d19f2a3
commit b460e282b1
1 file changed
+5
@@ -57,4 +57,9 @@ public abstract class ConstraintNodeMatcher<T extends Node> implements NodeMatch
public boolean test(@NonNull Node node) {
return match(node) != null;
}
@Override
public String toString() {
return this.constraint.toString();
}
}