9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 02:29:14 +00:00

Resolved #892: Snow no longer replaces objects.

This commit is contained in:
Vatuu
2022-09-24 04:43:47 +02:00
parent 23c1d12e73
commit e660fe9e1e

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();