Skip to content

Commit b7cfc65

Browse files
committed
MuteCommand.kt permission level fixed.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 5991338 commit b7cfc65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/main/kotlin/com/mairwunnx/projectessentials/chat/commands

src/main/kotlin/com/mairwunnx/projectessentials/chat/commands/MuteCommand.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ object MuteCommand {
6565
): Int {
6666
if (context.isPlayerSender() && !EntryPoint.hasPermission(
6767
context.source.asPlayer(),
68-
"ess.chat.mute"
68+
"ess.chat.mute",
69+
3
6970
)
7071
) {
7172
sendMsg("chat", context.source, "chat.mute_restricted")

0 commit comments

Comments
 (0)