mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-25 00:25:28 +02:00
Added perm checks to skill commands
This commit is contained in:
@@ -53,7 +53,6 @@ public class InspectCommand implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
|
||||
if (sender instanceof Player && !sender.isOp()) {
|
||||
sender.sendMessage(mcLocale.getString("Inspect.Offline"));
|
||||
return true;
|
||||
|
@@ -14,7 +14,6 @@ public class McstatsCommand implements CommandExecutor {
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||
|
||||
if (CommandHelper.noConsoleUsage(sender)) {
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user