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;
for (IrisBiomeGeneratorLink gen : getEngine().getBiome(x, pu, z).getGenerators()){
if (gen.getMin() < 0){
if (pu < surface - 5) {
for (IrisBiomeGeneratorLink gen : getEngine().getBiome(x, pu, z).getGenerators()) {
if (gen.getMin() < 0) {
isAboveSea = false;
}
};
}
;
}
if(!isAboveSea){
continue;