From a4af0efa044b8cd773eba7d1c4e1dfb83cee000e Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 12 Feb 2015 16:44:43 +1100 Subject: [PATCH] Fixed multiworld flags not being usable in new flag command --- .../java/com/intellectualcrafters/plot/commands/FlagCmd.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java index 4c60884f6..65780803f 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java @@ -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 "); 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 "); return false; }