Skip to content

Commit

Permalink
perms tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 committed Jun 13, 2019
1 parent 61f617d commit 5d62c97
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
case 1:
switch (args[0].toLowerCase()) {
case "debug":
return showDebug(sender);
if (sender.hasPermission("panilla.command.debug")) {
return showDebug(sender);
}
}
default:
return showInfo(sender);
Expand Down

0 comments on commit 5d62c97

Please sign in to comment.