Fixes masks parsed from input not using block wildcards.

Closes WORLDEDIT-3147.
Dieser Commit ist enthalten in:
sk89q 2014-07-06 18:12:15 -07:00
Ursprung 68e5d5926a
Commit d74237b15e

Datei anzeigen

@ -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));
} }
} }