Skip to content

Commit

Permalink
added permission for '/be reroll' - betterelo.reroll
Browse files Browse the repository at this point in the history
- added permission for '/be reroll' - betterelo.reroll
  • Loading branch information
Grzybol authored Apr 18, 2024
2 parents c0f89a0 + 591ff06 commit 5d33b2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
case 1:
switch (args[0].toLowerCase()) {
case "reroll":
if(sender.isOp()) {
if(sender.isOp() || sender.hasPermission("betterelo.reroll")) {
handleRerollCommand(sender);
}
break;
Expand Down

0 comments on commit 5d33b2a

Please sign in to comment.