mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
remove deprecated call to isFullyOpaque
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user