mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Patch
This commit is contained in:
parent
9bcaeee794
commit
af0a923210
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user