fix buildinlayers crash

This commit is contained in:
Leijurv 2019-10-01 14:29:19 -07:00
parent f1fb109d40
commit 089c5fb095
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -363,7 +363,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
@Override
public boolean inSchematic(int x, int y, int z, IBlockState currentState) {
return ISchematic.super.inSchematic(x, y, z, currentState) && y >= minYInclusive && y <= maxYInclusive;
return ISchematic.super.inSchematic(x, y, z, currentState) && y >= minYInclusive && y <= maxYInclusive && realSchematic.inSchematic(x, y, z, currentState);
}
@Override