remove deprecated call to isFullyOpaque

This commit is contained in:
mezz committed 2016-05-11 22:08:12 -07:00
1 parent 1e1f65fc6c
commit e432e17373
1 file changed
+1 -1
@@ -112,7 +112,7 @@ public class BlockForestryFluid extends BlockFluidClassic implements IItemModelR
}
}
if (rand.nextInt(10) == 0 && worldIn.getBlockState(pos.down()).isFullyOpaque()) {
if (rand.nextInt(10) == 0 && worldIn.getBlockState(pos.down()).isSideSolid(worldIn, pos.down(), EnumFacing.DOWN)) {
Material material = worldIn.getBlockState(pos.down(2)).getMaterial();
if (!material.blocksMovement() && !material.isLiquid()) {