9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 10:39:07 +00:00

Merge pull request #909 from VolmitSoftware/Development

Development
This commit is contained in:
Brian Fopiano
2022-09-23 20:03:37 -07:00
committed by GitHub
4 changed files with 8 additions and 4 deletions

View File

@@ -77,8 +77,9 @@ public class IrisSurfaceDecorator extends IrisEngineDecorator {
((Bisected) bd).setHalf(Bisected.Half.BOTTOM);
}
data.set(x, height + 1, z, fixFaces(bd, x, height + 1, z));
if(!B.isAir(data.get(x, height + 1, z))) {
data.set(x, height + 1, z, fixFaces(bd, x, height + 1, z));
}
} else {
if(height < getDimension().getFluidHeight()) {
max = getDimension().getFluidHeight();

View File

@@ -19,6 +19,7 @@
package com.volmit.iris.engine.framework;
import com.volmit.iris.Iris;
import com.volmit.iris.core.IrisSettings;
import com.volmit.iris.engine.object.IrisBiome;
import com.volmit.iris.engine.object.IrisEffect;
import com.volmit.iris.engine.object.IrisRegion;
@@ -48,6 +49,9 @@ public class EnginePlayer {
public void tick() {
sample();
if(!IrisSettings.get().getWorld().isEffectSystem())
return;
J.a(() -> {
if(region != null) {
for(IrisEffect j : region.getEffects()) {