9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00
This commit is contained in:
cyberpwn
2022-09-16 03:26:23 -04:00
parent 243ef8c0be
commit a37ccddd38

View File

@@ -143,7 +143,7 @@ public class CustomBiomeSource extends BiomeSource {
@Override
public Holder<Biome> getNoiseBiome(int x, int y, int z, Climate.Sampler sampler) {
IrisBiome ib = engine.getBiome(x << 2, y << 2, z << 2);
IrisBiome ib = engine.getBiome(x << 2, (y - engine.getMinHeight()) << 2, z << 2);
if(ib.isCustom()) {
return customBiomes.get(ib.getCustomBiome(rng, x << 2, 0, z << 2).getId());
} else {