You didn't see anything...

This commit is contained in:
StrangeOne101 2021-07-10 22:49:25 +12:00
parent 13a5482f91
commit fb0ff734d7
3 changed files with 17 additions and 21 deletions

View File

@ -106,7 +106,7 @@ public class IrisDecorantActuator extends EngineAssignedActuator<BlockData>
{ {
if (emptyFor > 0) { if (emptyFor > 0) {
getSurfaceDecorator().decorate(i, j, realX, realZ, output, cave, k, emptyFor); getSurfaceDecorator().decorate(i, j, realX, realZ, output, cave, k, emptyFor);
getCeilingDecorator().decorate(i, j, realX, realZ, output, cave, lastSolid, emptyFor); getCeilingDecorator().decorate(i, j, realX, realZ, output, cave, lastSolid - 1, emptyFor);
emptyFor = 0; emptyFor = 0;
} }
lastSolid = k; lastSolid = k;

View File

@ -16,8 +16,6 @@ public class IrisSeaSurfaceDecorator extends IrisEngineDecorator
@Override @Override
public void decorate(int x, int z, int realX, int realX1, int realX_1, int realZ, int realZ1, int realZ_1, Hunk<BlockData> data, IrisBiome biome, int height, int max) { public void decorate(int x, int z, int realX, int realX1, int realX_1, int realZ, int realZ1, int realZ_1, Hunk<BlockData> data, IrisBiome biome, int height, int max) {
if(height > getDimension().getFluidHeight()) {
{
IrisDecorator decorator = getDecorator(biome, realX, realZ); IrisDecorator decorator = getDecorator(biome, realX, realZ);
if(decorator != null) if(decorator != null)
@ -41,5 +39,3 @@ public class IrisSeaSurfaceDecorator extends IrisEngineDecorator
} }
} }
} }
}
}