This commit is contained in:
CocoTheOwner 2021-03-06 16:39:59 +01:00
parent 9bcaeee794
commit af0a923210

View File

@ -164,11 +164,14 @@ public class IrisCaveModifier extends EngineAssignedModifier<BlockData>
} }
boolean isAboveSea = true; boolean isAboveSea = true;
for (IrisBiomeGeneratorLink gen : getEngine().getBiome(x, pu, z).getGenerators()){ if (pu < surface - 5) {
if (gen.getMin() < 0){ for (IrisBiomeGeneratorLink gen : getEngine().getBiome(x, pu, z).getGenerators()) {
isAboveSea = false; if (gen.getMin() < 0) {
isAboveSea = false;
}
} }
}; ;
}
if(!isAboveSea){ if(!isAboveSea){
continue; continue;