mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixes masks parsed from input not using block wildcards.
Closes WORLDEDIT-3147.
This commit is contained in:
parent
68e5d5926a
commit
d74237b15e
@ -134,6 +134,7 @@ class DefaultMaskParser extends InputParser<Mask> {
|
|||||||
default:
|
default:
|
||||||
ParserContext tempContext = new ParserContext(context);
|
ParserContext tempContext = new ParserContext(context);
|
||||||
tempContext.setRestricted(false);
|
tempContext.setRestricted(false);
|
||||||
|
tempContext.setPreferringWildcard(true);
|
||||||
return new BlockMask(extent, worldEdit.getBlockRegistry().parseFromListInput(component, tempContext));
|
return new BlockMask(extent, worldEdit.getBlockRegistry().parseFromListInput(component, tempContext));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user