mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 03:22:52 +08:00
Fix cutscene
and sound
permissions (#2197)
This commit is contained in:
parent
d8d31f3afe
commit
b4b0b8d2a8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user