Manually denying most Essential perms...

This commit is contained in:
Norbi Peti 2016-11-29 21:42:05 +01:00
parent d6b5ae2d88
commit 6808c18d5b

View file

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