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

@@ -8,7 +8,7 @@ import java.util.List;
import static emu.grasscutter.utils.Language.translate;
@Command(label = "godmode", usage = "godmode [on|off|toggle]", permission = "player.godmode", description = "commands.godmode.description")
@Command(label = "godmode", usage = "godmode [on|off|toggle]", permission = "player.godmode", permissionTargeted = "player.godmode.others", description = "commands.godmode.description")
public final class GodModeCommand implements CommandHandler {
@Override