mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 14:22:53 +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",
|
label = "cutscene",
|
||||||
aliases = {"c"},
|
aliases = {"c"},
|
||||||
usage = {"[<cutsceneId>]"},
|
usage = {"[<cutsceneId>]"},
|
||||||
permission = "player.group",
|
permission = "player.cutscene",
|
||||||
permissionTargeted = "player.group.others")
|
permissionTargeted = "player.cutscene.others")
|
||||||
public final class CutsceneCommand implements CommandHandler {
|
public final class CutsceneCommand implements CommandHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -14,8 +14,8 @@ import lombok.val;
|
|||||||
label = "sound",
|
label = "sound",
|
||||||
aliases = {"s", "audio"},
|
aliases = {"s", "audio"},
|
||||||
usage = {"[<audioname>] [<x><y><z>]"},
|
usage = {"[<audioname>] [<x><y><z>]"},
|
||||||
permission = "player.group",
|
permission = "player.sound",
|
||||||
permissionTargeted = "player.group.others")
|
permissionTargeted = "player.sound.others")
|
||||||
public final class SoundCommand implements CommandHandler {
|
public final class SoundCommand implements CommandHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user