From e084c2be55c03fbf41bd2951b3df87d37e198956 Mon Sep 17 00:00:00 2001 From: jie65535 Date: Wed, 7 Jun 2023 23:00:29 +0800 Subject: [PATCH] Fix `cutscene` and `sound` permissions --- .../emu/grasscutter/command/commands/CutsceneCommand.java | 4 ++-- .../java/emu/grasscutter/command/commands/SoundCommand.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/emu/grasscutter/command/commands/CutsceneCommand.java b/src/main/java/emu/grasscutter/command/commands/CutsceneCommand.java index c2546287839..12df77357f7 100644 --- a/src/main/java/emu/grasscutter/command/commands/CutsceneCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/CutsceneCommand.java @@ -11,8 +11,8 @@ label = "cutscene", aliases = {"c"}, usage = {"[]"}, - permission = "player.group", - permissionTargeted = "player.group.others") + permission = "player.cutscene", + permissionTargeted = "player.cutscene.others") public final class CutsceneCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/grasscutter/command/commands/SoundCommand.java b/src/main/java/emu/grasscutter/command/commands/SoundCommand.java index 9c673a5dfbc..f69db4e5eae 100644 --- a/src/main/java/emu/grasscutter/command/commands/SoundCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/SoundCommand.java @@ -14,8 +14,8 @@ label = "sound", aliases = {"s", "audio"}, usage = {"[] []"}, - permission = "player.group", - permissionTargeted = "player.group.others") + permission = "player.sound", + permissionTargeted = "player.sound.others") public final class SoundCommand implements CommandHandler { @Override