This commit is contained in:
dordsor21 2023-05-22 19:43:21 +01:00
parent 5dca925bc3
commit 362f6cc6e1
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -147,6 +147,7 @@ public class RichMaskParser extends FaweParser<Mask> {
try { try {
builder.addRegex(full); builder.addRegex(full);
} catch (InputParseException ignored) { } catch (InputParseException ignored) {
builder.clear();
context.setPreferringWildcard(false); context.setPreferringWildcard(false);
context.setRestricted(false); context.setRestricted(false);
BaseBlock block = worldEdit.getBlockFactory().parseFromInput(full, context); BaseBlock block = worldEdit.getBlockFactory().parseFromInput(full, context);