Match /clearinventory multiple permission to /msg

This commit is contained in:
Necrodoom 2014-03-26 19:30:36 +02:00 committed by KHobbits
parent 30dae51ddf
commit cfe89dde17

View File

@ -25,7 +25,7 @@ public class Commandclearinventory extends EssentialsCommand
@Override @Override
public void run(Server server, User user, String commandLabel, String[] args) throws Exception public void run(Server server, User user, String commandLabel, String[] args) throws Exception
{ {
parseCommand(server, user.getSource(), args, user.isAuthorized("essentials.clearinventory.others"), user.isAuthorized("essentials.clearinventory.all")); parseCommand(server, user.getSource(), args, user.isAuthorized("essentials.clearinventory.others"), user.isAuthorized("essentials.clearinventory.all") || user.isAuthorized("essentials.clearinventory.multiple"));
} }
@Override @Override