mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Apply negated wildcards
This commit is contained in:
parent
e7ca79d251
commit
3a0a89853f
@ -94,8 +94,11 @@ public class LPPermissible extends PermissibleBase {
|
||||
}
|
||||
|
||||
if (plugin.getConfiguration().getApplyWildcards()) {
|
||||
if (luckPermsPermissions.containsKey("*") || luckPermsPermissions.containsKey("'*'")) {
|
||||
return Tristate.TRUE;
|
||||
if (luckPermsPermissions.containsKey("*")) {
|
||||
return Tristate.fromBoolean(luckPermsPermissions.get("*"));
|
||||
}
|
||||
if (luckPermsPermissions.containsKey("'*'")) {
|
||||
return Tristate.fromBoolean(luckPermsPermissions.get("'*'"));
|
||||
}
|
||||
|
||||
String node = "";
|
||||
|
Loading…
Reference in New Issue
Block a user