Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing

This commit is contained in:
IronApollo
2019-02-27 08:09:04 -05:00
parent 24fbc86cdd
commit 3ffb5ff00d
6 changed files with 11 additions and 14 deletions

View File

@ -213,12 +213,12 @@ public class DefaultMaskParser extends FaweParser<Mask> {
throw new InputParseException(e2.getMessage());
}
});
}
}
if (pe.and) {
masks.add(new ArrayList<>());
}
masks.get(masks.size() - 1).add(mask);
}
}
} catch (InputParseException rethrow) {
throw rethrow;
@ -240,7 +240,7 @@ public class DefaultMaskParser extends FaweParser<Mask> {
return new MaskIntersection(maskUnions);
} else {
return null;
}
}
}
}