From 07ee19b4bb87968863252aeed38d41040c1acd98 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 31 Aug 2016 19:09:17 +1000 Subject: [PATCH] Fixes #1337 --- .../java/com/intellectualcrafters/plot/commands/FlagCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java index a2f127a71..613b47f25 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java @@ -134,7 +134,7 @@ public class FlagCmd extends SubCommand { return false; } if (!Permissions.hasPermission(player, "plots.set.flag." + args[1].toLowerCase())) { - if (args.length != 2) { + if (args.length != 3) { MainUtil.sendMessage(player, C.NO_PERMISSION, "plots.set.flag." + args[1].toLowerCase()); return false; }