Fix Suppression Sigil placing source instead of flowing for life essence (#814)
This commit is contained in:
parent
065043bafa
commit
0f7f0873e4
|
@ -32,6 +32,13 @@ public class BlockLifeEssence extends BlockFluidClassic
|
|||
BloodMagicAPI.setLifeEssence(getLifeEssence());
|
||||
}
|
||||
|
||||
// TODO - Remove after Forge fixes
|
||||
// Fix for BlockFluidBase not overriding this
|
||||
@Override
|
||||
public IBlockState getStateFromMeta(int meta) {
|
||||
return getBlockState().getBaseState().withProperty(LEVEL, meta);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canDisplace(IBlockAccess world, BlockPos blockPos)
|
||||
{
|
||||
|
@ -44,12 +51,6 @@ public class BlockLifeEssence extends BlockFluidClassic
|
|||
return !world.getBlockState(blockPos).getBlock().getMaterial(world.getBlockState(blockPos)).isLiquid() && super.displaceIfPossible(world, blockPos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBox(IBlockState blockState, World worldIn, BlockPos pos)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public static class FluidLifeEssence extends Fluid
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue