9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-25 18:19:14 +00:00
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){
isAboveSea = false;
if (pu < surface - 5) {
for (IrisBiomeGeneratorLink gen : getEngine().getBiome(x, pu, z).getGenerators()) {
if (gen.getMin() < 0) {
isAboveSea = false;
}
}
};
;
}
if(!isAboveSea){
continue;