Actually pass on a single wildcard node so it gets applied

This commit is contained in:
Luck committed 2016-09-16 21:46:55 +01:00
1 parent be74b50762
commit 497de9824a
1 file changed
-1
@@ -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;
}
}