Fix bug in PermissionHolder#hasNode (#2490)

Regression introduced in bd6d3ab7c0
This commit is contained in:
Luck 2020-07-26 14:14:41 +01:00
parent 9659333d0e
commit 92e008ff0a
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -462,7 +462,7 @@ public abstract class PermissionHolder {
for (Node other : nodes) {
if (equalityPredicate.areEqual(node, other)) {
return Tristate.of(node.getValue());
return Tristate.of(other.getValue());
}
}