Restore single-star from 55f2eb6dca

This commit is contained in:
riking 2014-06-14 10:22:28 -07:00
parent 4c14e6b72a
commit d1e162bb97

View File

@ -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);
}