From 62b4481f4c69f7877e67764bf89e0d84b2a92e6e Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sat, 30 Sep 2023 08:38:47 -0700 Subject: [PATCH] add `carbon.parties` permission --- .../draycia/carbon/common/command/commands/PartyCommands.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/net/draycia/carbon/common/command/commands/PartyCommands.java b/common/src/main/java/net/draycia/carbon/common/command/commands/PartyCommands.java index 4a82cc548..5716dcf0e 100644 --- a/common/src/main/java/net/draycia/carbon/common/command/commands/PartyCommands.java +++ b/common/src/main/java/net/draycia/carbon/common/command/commands/PartyCommands.java @@ -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")