Actually pass on a single wildcard node so it gets applied
This commit is contained in:
parent
be74b50762
commit
497de9824a
@ -245,7 +245,6 @@ public abstract class PermissionHolder {
|
|||||||
if (node.getPermission().equals("*") || node.getPermission().equals("'*'")) {
|
if (node.getPermission().equals("*") || node.getPermission().equals("'*'")) {
|
||||||
if (possibleNodes != null && plugin.getConfiguration().getApplyWildcards()) {
|
if (possibleNodes != null && plugin.getConfiguration().getApplyWildcards()) {
|
||||||
possibleNodes.forEach(n -> perms.put(n, true));
|
possibleNodes.forEach(n -> perms.put(n, true));
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user