mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-17 03:44:05 +08:00
Add permissionTargeted to applicable commands
Change target perm from target.perm to x.perm.others
This commit is contained in:
committed by
Melledy
Unverified
parent
056b5b80c8
commit
80db118f72
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "heal", usage = "heal|h", aliases = {"h"}, permission = "player.heal", description = "commands.heal.description")
|
||||
@Command(label = "heal", usage = "heal|h", aliases = {"h"}, permission = "player.heal", permissionTargeted = "player.heal.others", description = "commands.heal.description")
|
||||
public final class HealCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user