mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-13 05:54:17 +01:00
move lightvolumes down 1 to fix darkness on bottom of contraption
This commit is contained in:
parent
83fa7d34a8
commit
d2173614dc
@ -91,7 +91,7 @@ public class ContraptionLighter {
|
|||||||
private void setupPosition(Contraption c) {
|
private void setupPosition(Contraption c) {
|
||||||
Vec3d positionVec = c.entity.getPositionVec();
|
Vec3d positionVec = c.entity.getPositionVec();
|
||||||
minX = (int) (Math.floor(positionVec.x) - sizeX / 2);
|
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);
|
minZ = (int) (Math.floor(positionVec.z) - sizeZ / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user