Fixes masks parsed from input not using block wildcards.

Closes WORLDEDIT-3147.
This commit is contained in:
sk89q 2014-07-06 18:12:15 -07:00
parent 68e5d5926a
commit d74237b15e

View File

@ -134,6 +134,7 @@ class DefaultMaskParser extends InputParser<Mask> {
default:
ParserContext tempContext = new ParserContext(context);
tempContext.setRestricted(false);
tempContext.setPreferringWildcard(true);
return new BlockMask(extent, worldEdit.getBlockRegistry().parseFromListInput(component, tempContext));
}
}