mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Fixed multiworld flags not being usable in new flag command
This commit is contained in:
parent
a2ddd702cb
commit
a4af0efa04
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user