Command: Add permissionTargeted or targetRequirement

This commit is contained in:
Tesutarin
2022-06-12 10:44:13 +08:00
committed by Melledy
parent c4ce6caeba
commit c5b45358e7
8 changed files with 18 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ import java.util.List;
import static emu.grasscutter.utils.Language.translate;
@Command(label = "position", usage = "position", aliases = {"pos"}, description = "commands.position.description")
@Command(label = "position", usage = "position", aliases = {"pos"}, description = "commands.position.description", targetRequirement = Command.TargetRequirement.NONE)
public final class PositionCommand implements CommandHandler {
@Override