mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-20 05:30:22 +08:00
Command: Add permissionTargeted or targetRequirement
This commit is contained in:
committed by
Melledy
Unverified
parent
52e9c05440
commit
794750827d
@@ -9,8 +9,8 @@ import java.util.List;
|
||||
|
||||
import static emu.grasscutter.utils.Language.translate;
|
||||
|
||||
@Command(label = "unlocktower", usage = "unlocktower", aliases = {"ut"},
|
||||
description = "commands.unlocktower.description", permission = "player.tower")
|
||||
@Command(label = "unlocktower", usage = "unlocktower", aliases = {"ut"}, permission = "player.unlocktower", permissionTargeted = "player.unlocktower.others",
|
||||
description = "commands.unlocktower.description")
|
||||
public class UnlockTowerCommand implements CommandHandler {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user