mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
ff
This commit is contained in:
@@ -144,7 +144,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) {
|
||||||
int m = (y - engine.getMinHeight()) << 2;
|
int m = (y - engine.getMinHeight()) << 2;
|
||||||
IrisBiome ib = engine.getBiome(x << 2, m, z << 2);
|
IrisBiome ib = engine.getComplex().getTrueBiomeStream().get(x << 2, z << 2);
|
||||||
if(ib.isCustom()) {
|
if(ib.isCustom()) {
|
||||||
return customBiomes.get(ib.getCustomBiome(rng, x << 2, m, z << 2).getId());
|
return customBiomes.get(ib.getCustomBiome(rng, x << 2, m, z << 2).getId());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user