Change whisper permission and bump to 2.1.0-SNAPSHOT

This commit is contained in:
Draycia committed 2022-04-16 17:52:31 -07:00
1 parent 246b8942bf
commit 90843e084c
2 files changed
+3 -3

No files matched your search

@@ -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);
+1 -1
View File
@@ -1,5 +1,5 @@
# Project Properties
projectVersion=2.0.10
projectVersion=2.1.0-SNAPSHOT
# Gradle Properties
org.gradle.configureondemand=true