From e57af63af40d329ed5adcd4313c58a6278f87208 Mon Sep 17 00:00:00 2001 From: MattBDev Date: Thu, 21 Apr 2016 14:57:47 -0400 Subject: [PATCH] Possible remove fix. --- .../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 3ee0fe036..ef0797fe4 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java @@ -142,7 +142,7 @@ public class FlagCmd extends SubCommand { String value = StringMan.join(Arrays.copyOfRange(args, 2, args.length), " "); Optional flag1 = plot.getFlag((Flag>) flag); if (flag1.isPresent()) { - boolean o = flag1.get().remove(flag.parseValue(value)); + boolean o = flag1.get().removeAll((Collection) flag.parseValue(value)); if (o) { MainUtil.sendMessage(player, C.FLAG_REMOVED); } else {