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