Fixed NPE when using an empty bucket
This commit is contained in:
parent
ad97710dda
commit
f9bf63ccf1
3 changed files with 28 additions and 0 deletions
|
@ -46,6 +46,24 @@ public class BlockDimensionalPortal extends BlockIntegerContainer
|
|||
return new TileDimensionalPortal();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube(IBlockState state)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisuallyOpaque()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, World world, BlockPos pos)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue