mirror of
https://github.com/LucasDower/ObjToSchematic.git
synced 2025-12-11 20:15:30 +01:00
Fix for block lighting at bottom layer of blocks
This commit is contained in:
parent
d3b0580fef
commit
34b0834da4
@ -458,7 +458,7 @@ export class BlockMeshLighting {
|
|||||||
|
|
||||||
const limit = this._limits.get(key.hash());
|
const limit = this._limits.get(key.hash());
|
||||||
if (limit !== undefined) {
|
if (limit !== undefined) {
|
||||||
return vec.y >= this._bounds.min.y && vec.y <= limit.maxY + 1;
|
return vec.y >= this._bounds.min.y - 1 && vec.y <= limit.maxY + 1;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user