mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-23 08:29:30 +00:00
f
This commit is contained in:
@@ -143,7 +143,7 @@ public class CustomBiomeSource extends BiomeSource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Holder<Biome> getNoiseBiome(int x, int y, int z, Climate.Sampler sampler) {
|
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()) {
|
if(ib.isCustom()) {
|
||||||
return customBiomes.get(ib.getCustomBiome(rng, x << 2, 0, z << 2).getId());
|
return customBiomes.get(ib.getCustomBiome(rng, x << 2, 0, z << 2).getId());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user