Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
cjburkey01 committed May 3, 2024
1 parent 51f5f91 commit bd0d83e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ public ClaimChunkBaseCommand(ClaimChunk claimChunk) {
// `/chunk admin unclaim all`
new CommandStr(new AdminUnclaimAllCmd(claimChunk), "admin", "unclaim", "all"),
// `/chunk admin unclaim all`
new CommandStr(new AdminUnclaimWorldCmd(claimChunk), "admin", "unclaim", "world", "i_am_sure"),
new CommandStr(
new AdminUnclaimWorldCmd(claimChunk),
"admin",
"unclaim",
"world",
"i_am_sure"),
// `/chunk admin unclaim`
new CommandStr(new AdminUnclaimCmd(claimChunk), "admin", "unclaim"),
// `/chunk admin reload`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public boolean rightExecutor(@NotNull CommandSender sender) {
*/
public boolean rightExecutorAndPermission(@NotNull CommandSender sender) {
Executor senderExecutor = Executor.fromSender(sender);
return rightExecutor(sender) && (senderExecutor == Executor.CONSOLE || rightPermission(sender));
return rightExecutor(sender)
&& (senderExecutor == Executor.CONSOLE || rightPermission(sender));
}

/***
Expand Down

0 comments on commit bd0d83e

Please sign in to comment.