Fix rendering 1.15-worlds that are higher than y 255
This commit is contained in:
parent
034d8b097a
commit
5f9716adc5
|
@ -150,6 +150,11 @@ public class ChunkAnvil115 extends MCAChunk {
|
|||
return LegacyBiomes.idFor(biomes[biomeIntIndex]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxY(int x, int z) {
|
||||
return sections.length * 16 + 15;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getWorldSurfaceY(int x, int z) {
|
||||
if (this.worldSurfaceHeights.length < 36) return 0;
|
||||
|
|
Loading…
Reference in New Issue