Let ops use all options
This commit is contained in:
parent
832a2a4d30
commit
55f2eb6dca
@ -53,8 +53,8 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||||||
perms.put(perm, permission.getValue());
|
perms.put(perm, permission.getValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!perms.containsKey(permissionNode + "*") && sender.hasPermission(permissionNode + "*")) {
|
if (!perms.containsKey(permissionNode + "*.*") && sender.hasPermission(permissionNode + "*.*")) {
|
||||||
perms.put(permissionNode + "*", true);
|
perms.put(permissionNode + "*.*", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (String perm : perms.keySet()) {
|
for (String perm : perms.keySet()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user