Fixed multiworld flags not being usable in new flag command

This commit is contained in:
boy0001 2015-02-12 16:44:43 +11:00
parent a2ddd702cb
commit a4af0efa04

View File

@ -100,7 +100,7 @@ public class FlagCmd extends SubCommand {
PlayerFunctions.sendMessage(player, C.NO_PERMISSION, "plots.set.flag");
return false;
}
if (args.length != 3) {
if (args.length < 3) {
PlayerFunctions.sendMessage(player, C.COMMAND_SYNTAX, "/plot flag set <flag> <value>");
return false;
}
@ -173,7 +173,7 @@ public class FlagCmd extends SubCommand {
PlayerFunctions.sendMessage(player, C.NO_PERMISSION, "plots.flag.add");
return false;
}
if (args.length != 3) {
if (args.length < 3) {
PlayerFunctions.sendMessage(player, C.COMMAND_SYNTAX, "/plot flag add <flag> <values>");
return false;
}