mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-21 18:32:15 +00:00
Add ConstraintNodeMatcher toString method for use in commands
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user