From 0c529064137ed5c8b941866c997535b190fe15de Mon Sep 17 00:00:00 2001 From: Apehum <36326454+Apehum@users.noreply.github.com> Date: Wed, 20 Nov 2024 00:27:22 +0800 Subject: [PATCH] fix(server): send /vmute command usage --- .../main/java/su/plo/voice/server/command/VoiceMuteCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/common/src/main/java/su/plo/voice/server/command/VoiceMuteCommand.java b/server/common/src/main/java/su/plo/voice/server/command/VoiceMuteCommand.java index c29c1cd9..8ac3d850 100644 --- a/server/common/src/main/java/su/plo/voice/server/command/VoiceMuteCommand.java +++ b/server/common/src/main/java/su/plo/voice/server/command/VoiceMuteCommand.java @@ -33,7 +33,7 @@ public final class VoiceMuteCommand implements McCommand { @Override public void execute(@NotNull McCommandSource source, @NotNull String[] arguments) { if (arguments.length == 0) { - source.sendMessage(McTextComponent.translatable("pv.error.no_permissions")); + source.sendMessage(McTextComponent.translatable("pv.command.mute.usage")); return; }