Add permissionTargeted to applicable commands

Change target perm from target.perm to x.perm.others
This commit is contained in:
AnimeGitB
2022-05-06 17:36:13 +09:30
committed by Melledy
parent f0ff323b7b
commit e23b72f298
24 changed files with 24 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ import java.util.Random;
import static emu.grasscutter.utils.Language.translate;
@Command(label = "spawn", usage = "spawn <entityId> [amount] [level(monster only)]", permission = "server.spawn", description = "commands.spawn.description")
@Command(label = "spawn", usage = "spawn <entityId> [amount] [level(monster only)]", permission = "server.spawn", permissionTargeted = "server.spawn.others", description = "commands.spawn.description")
public final class SpawnCommand implements CommandHandler {
@Override