Merge pull request #34 from riking/patch-1
Restore single-star from 55f2eb6dca
This commit is contained in:
commit
fd8fa08c6e
@ -53,6 +53,9 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||||||
perms.put(perm, permission.getValue());
|
perms.put(perm, permission.getValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!perms.containsKey(permissionNode + "*") && sender.hasPermission(permissionNode + "*")) {
|
||||||
|
perms.put(permissionNode + "*", true);
|
||||||
|
}
|
||||||
if (!perms.containsKey(permissionNode + "*.*") && sender.hasPermission(permissionNode + "*.*")) {
|
if (!perms.containsKey(permissionNode + "*.*") && sender.hasPermission(permissionNode + "*.*")) {
|
||||||
perms.put(permissionNode + "*.*", true);
|
perms.put(permissionNode + "*.*", true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user