mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-13 06:05:36 +01:00
10.2.0 release
This commit is contained in:
parent
5a251848c5
commit
ffe5025569
@ -28,7 +28,7 @@ public class ChestSortCommand implements CommandExecutor {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!plugin.getConfig().getBoolean("allow-commands")) {
|
||||
if(!plugin.getConfig().getBoolean("allow-commands") && !sender.isOp()) {
|
||||
sender.sendMessage(command.getPermissionMessage());
|
||||
return true;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ public class InvSortCommand implements CommandExecutor {
|
||||
|
||||
Player p = null;
|
||||
|
||||
if(!plugin.getConfig().getBoolean("allow-commands")) {
|
||||
if(!plugin.getConfig().getBoolean("allow-commands") && !sender.isOp()) {
|
||||
sender.sendMessage(command.getPermissionMessage());
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user