fix lighting

This commit is contained in:
Sen 2025-06-29 21:33:06 +02:00
parent 15459fc627
commit 5357dde0e3
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
3 changed files with 103 additions and 110 deletions

View file

@ -24,7 +24,7 @@ public class ChunkClient extends Chunk {
private void genHeights() {
int top = this.top;
int bottom = this.bottom;
int bottom = this.bottom < -64 ? -64 : this.bottom;
this.minHeight = Integer.MAX_VALUE;
for(int x = 0; x < 16; ++x) {