Fix forge fluids being treated as solid blocks (#4606)

This commit is contained in:
ichttt 2018-01-18 22:14:00 +01:00 committed by LexManos
parent 1d48e06798
commit 196e03c921
1 changed files with 7 additions and 0 deletions

View File

@ -435,6 +435,13 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock
return this.renderLayer;
}
@Override
@Nonnull
public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face)
{
return BlockFaceShape.UNDEFINED;
}
@Override
public boolean shouldSideBeRendered(@Nonnull IBlockState state, @Nonnull IBlockAccess world, @Nonnull BlockPos pos, @Nonnull EnumFacing side)
{