forked from mirror/ObjToSchematic
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());
|
||||
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 {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user