From b4b0b8d2a8f7ca89494172e6d3c0f2b2e75ae185 Mon Sep 17 00:00:00 2001 From: jie65535 Date: Wed, 7 Jun 2023 23:57:59 +0800 Subject: [PATCH] Fix `cutscene` and `sound` permissions (#2197) --- .../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 c25462878..12df77357 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 @@ import lombok.val; 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 9c673a5df..f69db4e5e 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 @@ import lombok.val; 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