Fix cutscene and sound permissions (#2197)

This commit is contained in:
jie65535 2023-06-07 23:57:59 +08:00 committed by GitHub
parent d8d31f3afe
commit b4b0b8d2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@ import lombok.val;
label = "cutscene",
aliases = {"c"},
usage = {"[<cutsceneId>]"},
permission = "player.group",
permissionTargeted = "player.group.others")
permission = "player.cutscene",
permissionTargeted = "player.cutscene.others")
public final class CutsceneCommand implements CommandHandler {
@Override

View File

@ -14,8 +14,8 @@ import lombok.val;
label = "sound",
aliases = {"s", "audio"},
usage = {"[<audioname>] [<x><y><z>]"},
permission = "player.group",
permissionTargeted = "player.group.others")
permission = "player.sound",
permissionTargeted = "player.sound.others")
public final class SoundCommand implements CommandHandler {
@Override