From a37ccddd38a397e66ee972d8affe8bbbce92f1dc Mon Sep 17 00:00:00 2001 From: cyberpwn Date: Fri, 16 Sep 2022 03:26:23 -0400 Subject: [PATCH] f --- .../java/com/volmit/iris/core/nms/v19_2/CustomBiomeSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/volmit/iris/core/nms/v19_2/CustomBiomeSource.java b/src/main/java/com/volmit/iris/core/nms/v19_2/CustomBiomeSource.java index bfb3f2ddc..5bc9b063f 100644 --- a/src/main/java/com/volmit/iris/core/nms/v19_2/CustomBiomeSource.java +++ b/src/main/java/com/volmit/iris/core/nms/v19_2/CustomBiomeSource.java @@ -143,7 +143,7 @@ public class CustomBiomeSource extends BiomeSource { @Override public Holder 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 {