mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 18:45:21 +01:00
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 String getBiome(int x, int y, int z) {
|
||||
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
Block a user