10.2.0 release

This commit is contained in:
mfnalex 2021-06-20 21:25:13 +02:00
parent 5a251848c5
commit ffe5025569
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class ChestSortCommand implements CommandExecutor {
return false; return false;
} }
if(!plugin.getConfig().getBoolean("allow-commands")) { if(!plugin.getConfig().getBoolean("allow-commands") && !sender.isOp()) {
sender.sendMessage(command.getPermissionMessage()); sender.sendMessage(command.getPermissionMessage());
return true; return true;
} }

View File

@ -24,7 +24,7 @@ public class InvSortCommand implements CommandExecutor {
Player p = null; Player p = null;
if(!plugin.getConfig().getBoolean("allow-commands")) { if(!plugin.getConfig().getBoolean("allow-commands") && !sender.isOp()) {
sender.sendMessage(command.getPermissionMessage()); sender.sendMessage(command.getPermissionMessage());
return true; return true;
} }