mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-04-07 00:12:34 +02:00
Add permissionTargeted to applicable commands
Change target perm from target.perm to x.perm.others
This commit is contained in:
@@ -14,7 +14,7 @@ import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "clear", usage = "clear <all|wp|art|mat>", //Merged /clearartifacts and /clearweapons to /clear <args> [uid]
|
||||
description = "commands.clear.description",
|
||||
aliases = {"clear"}, permission = "player.clearinv")
|
||||
aliases = {"clear"}, permission = "player.clearinv", permissionTargeted = "player.clearinv.others")
|
||||
|
||||
public final class ClearCommand implements CommandHandler {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user