This commit is contained in:
cyberpwn committed 2022-09-16 03:26:23 -04:00
1 parent 243ef8c0be
commit a37ccddd38
1 file changed
+1 -1
@@ -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 {