Fix bug in PermissionHolder#hasNode (#2490)

Regression introduced in bd6d3ab7c0
This commit is contained in:
Luck committed 2020-07-26 14:14:41 +01:00
1 parent 9659333d0e
commit 92e008ff0a
1 file changed
+1 -1
@@ -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());
}
}