From 362f6cc6e10b56032dcae6822e9ee42bc6c68ac9 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 22 May 2023 19:43:21 +0100 Subject: [PATCH] fix #2009 --- .../core/extension/factory/parser/mask/RichMaskParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/mask/RichMaskParser.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/mask/RichMaskParser.java index f86645b67..4e0fbfa91 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/mask/RichMaskParser.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extension/factory/parser/mask/RichMaskParser.java @@ -147,6 +147,7 @@ public class RichMaskParser extends FaweParser { try { builder.addRegex(full); } catch (InputParseException ignored) { + builder.clear(); context.setPreferringWildcard(false); context.setRestricted(false); BaseBlock block = worldEdit.getBlockFactory().parseFromInput(full, context);