mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
*
This commit is contained in:
parent
fca33e5e87
commit
c676d89aa6
@ -171,7 +171,7 @@ public class DefaultMaskParser extends InputParser<Mask> {
|
||||
if (split.length == 2) {
|
||||
requiredCount = Integer.parseInt(split[1]);
|
||||
}
|
||||
return new AdjacentMask(extent, worldEdit.getBlockFactory().parseFromListInput(component.substring(1), tempContext));
|
||||
return new AdjacentMask(extent, worldEdit.getBlockFactory().parseFromListInput(component.substring(1), tempContext), requiredCount);
|
||||
} catch (NumberFormatException e) {
|
||||
throw new InputParseException("Unknown adjacent mask '" + component + "' (not in form `~<ids>[=count]`)");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user