geforkt von Mirrors/FastAsyncWorldEdit
Fix special masks issue
This fixes the issue where masks other than SimpleBlock masks (like Offset mask or negate mask) would not work. The issue was caused by parseFromListInput() who would throw SuggestInputParseException if the input was not a valid block definition. But as the parser was catching NoMatchException only, this was causing an error and the MaskFactory was broken.
Dieser Commit ist enthalten in:
Ursprung
735a37ffd0
Commit
cba7c21ce5
@ -56,7 +56,7 @@ public class BlocksMaskParser extends InputParser<Mask> {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return new BlockMask(context.getExtent(), holders);
|
return new BlockMask(context.getExtent(), holders);
|
||||||
} catch (NoMatchException e) {
|
} catch (InputParseException e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren