Skip to content

Commit

Permalink
add carbon.parties permission
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Sep 30, 2023
1 parent fbe2013 commit 62b4481
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public void init() {
return;
}

final var root = this.commandManager.commandBuilder(this.commandSettings().name(), this.commandSettings().aliases());
final var root = this.commandManager.commandBuilder(this.commandSettings().name(), this.commandSettings().aliases())
.permission("carbon.parties");
this.commandManager.command(root.handler(this::info));
this.commandManager.command(
root.literal("create")
Expand Down

0 comments on commit 62b4481

Please sign in to comment.