mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-08-23 23:02:47 +02:00
Restore single-star from 55f2eb6dca
This commit is contained in:
parent
4c14e6b72a
commit
d1e162bb97
|
@ -53,6 +53,9 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||
perms.put(perm, permission.getValue());
|
||||
}
|
||||
}
|
||||
if (!perms.containsKey(permissionNode + "*") && sender.hasPermission(permissionNode + "*")) {
|
||||
perms.put(permissionNode + "*", true);
|
||||
}
|
||||
if (!perms.containsKey(permissionNode + "*.*") && sender.hasPermission(permissionNode + "*.*")) {
|
||||
perms.put(permissionNode + "*.*", true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user