mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
f
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user