move lightvolumes down 1 to fix darkness on bottom of contraption

This commit is contained in:
JozsefA 2021-01-09 16:38:30 -08:00
parent 83fa7d34a8
commit d2173614dc

View File

@ -91,7 +91,7 @@ public class ContraptionLighter {
private void setupPosition(Contraption c) {
Vec3d positionVec = c.entity.getPositionVec();
minX = (int) (Math.floor(positionVec.x) - sizeX / 2);
minY = (int) (Math.floor(positionVec.y));
minY = (int) (Math.floor(positionVec.y) - 1);
minZ = (int) (Math.floor(positionVec.z) - sizeZ / 2);
}