mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Change whisper permission and bump to 2.1.0-SNAPSHOT
This commit is contained in:
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
@@ -1,5 +1,5 @@
|
||||
# Project Properties
|
||||
projectVersion=2.0.10
|
||||
projectVersion=2.1.0-SNAPSHOT
|
||||
|
||||
# Gradle Properties
|
||||
org.gradle.configureondemand=true
|
||||
|
||||
Reference in new issue
Block a user