From 90843e084c225c57bca9a6f8d4cd5eb2d5b79e23 Mon Sep 17 00:00:00 2001 From: Draycia Date: Sat, 16 Apr 2022 17:52:31 -0700 Subject: [PATCH] Change whisper permission and bump to 2.1.0-SNAPSHOT --- .../carbon/common/command/commands/WhisperCommand.java | 4 ++-- gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/net/draycia/carbon/common/command/commands/WhisperCommand.java b/common/src/main/java/net/draycia/carbon/common/command/commands/WhisperCommand.java index c29abfd5..c1c310e8 100644 --- a/common/src/main/java/net/draycia/carbon/common/command/commands/WhisperCommand.java +++ b/common/src/main/java/net/draycia/carbon/common/command/commands/WhisperCommand.java @@ -78,7 +78,7 @@ public class WhisperCommand extends CarbonCommand { RichDescription.of(this.messageService.commandWhisperArgumentPlayer().component())) .argument(StringArgument.greedy("message"), RichDescription.of(this.messageService.commandWhisperArgumentMessage().component())) - .permission("carbon.whisper.message") + .permission("carbon.whisper") .senderType(PlayerCommander.class) .meta(MinecraftExtrasMetaKeys.DESCRIPTION, this.messageService.commandWhisperDescription().component()) .handler(handler -> { @@ -125,7 +125,7 @@ public class WhisperCommand extends CarbonCommand { sender.lastWhisperTarget(recipient.uuid()); sender.whisperReplyTarget(recipient.uuid()); recipient.whisperReplyTarget(sender.uuid()); - }) // TODO: let command name and aliases be configurable, because why not + }) .build(); this.commandManager.command(command); diff --git a/gradle.properties b/gradle.properties index 41135787..d55fd179 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Project Properties -projectVersion=2.0.10 +projectVersion=2.1.0-SNAPSHOT # Gradle Properties org.gradle.configureondemand=true