Browse Source

Fixed Fluid Spring underwater again

Gregorius Techneticies 2 months ago
parent
commit
f264e03be0
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F

+ 1
- 1
src/main/java/gregtech/tileentity/misc/MultiTileEntityFluidSpring.java View File

@@ -105,7 +105,7 @@ public class MultiTileEntityFluidSpring extends TileEntityBase04MultiTileEntitie
105 105
 				if (tBlock instanceof BlockFluidFinite) {
106 106
 					if (tAbove == tBlock) {
107 107
 						worldObj.setBlock(xCoord, yCoord+1, zCoord, tBlock, UT.Code.bind4(getMetaDataAtSide(SIDE_UP)+8), 3);
108
-					} else if (tAbove.isAir(worldObj, xCoord, yCoord+1, zCoord)) {
108
+					} else if (tAbove instanceof BlockWaterlike || tAbove.isAir(worldObj, xCoord, yCoord+1, zCoord)) {
109 109
 						worldObj.setBlock(xCoord, yCoord+1, zCoord, tBlock, 7, 3);
110 110
 					}
111 111
 				} else {

Loading…
Cancel
Save