Actually pass on a single wildcard node so it gets applied

This commit is contained in:
Luck 2016-09-16 21:46:55 +01:00
parent be74b50762
commit 497de9824a
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -245,7 +245,6 @@ public abstract class PermissionHolder {
if (node.getPermission().equals("*") || node.getPermission().equals("'*'")) {
if (possibleNodes != null && plugin.getConfiguration().getApplyWildcards()) {
possibleNodes.forEach(n -> perms.put(n, true));
continue;
}
}