Manually denying most Essential perms...
This commit is contained in:
parent
d6b5ae2d88
commit
6808c18d5b
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ public class DiscordSender implements CommandSender {
|
|||
|
||||
@Override
|
||||
public boolean hasPermission(String name) {
|
||||
if (name.contains("essentials") && !name.equals("essentials.list"))
|
||||
return false;
|
||||
return perm.hasPermission(name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue