mirror of
https://github.com/bloodmc/GriefDefender.git
synced 2025-02-18 02:11:23 +01:00
bukkit: Fix '/cfg' and '/cog' commands.
This commit is contained in:
parent
039087cac7
commit
3c1a515e34
@ -55,7 +55,7 @@ public CommandClaimFlagGroup() {
|
||||
@Syntax("<group> <flag> <target> <value> [context[key=value]]")
|
||||
@Subcommand("flag group")
|
||||
public void execute(Player player, String group, @Optional String[] args) throws InvalidCommandArgument {
|
||||
if (args.length < 2 || args.length > 3) {
|
||||
if (args.length < 2 || args.length > 4) {
|
||||
throw new InvalidCommandArgument();
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ public CommandClaimOptionGroup() {
|
||||
@Syntax("<group> <option> <value> [context[key=value]]")
|
||||
@Subcommand("option group")
|
||||
public void execute(Player player, String group, @Optional String[] args) throws InvalidCommandArgument {
|
||||
if (args.length < 2 || args.length > 3) {
|
||||
if (args.length < 2 || args.length > 4) {
|
||||
throw new InvalidCommandArgument();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user