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