mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 20:43:42 +01:00
move lightvolumes down 1 to fix darkness on bottom of contraption
This commit is contained in:
parent
83fa7d34a8
commit
d2173614dc
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue