Fix selection boxes not being shown
getSelectedBoundingBox expects a bounding box relative to (0, 0, 0) but we were returning one relative to the current block. Instead we allow the default behaviour to continue, which will call getBoundingBox and offset it.
This commit is contained in:
parent
09215daa03
commit
d87b0e9435
|
@ -218,12 +218,6 @@ public final AxisAlignedBB getBoundingBox( IBlockState state, IBlockAccess world
|
|||
return FULL_BLOCK_AABB;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final AxisAlignedBB getSelectedBoundingBox( IBlockState state, World world, BlockPos pos )
|
||||
{
|
||||
return getBoundingBox( state, world, pos );
|
||||
}
|
||||
|
||||
@Override
|
||||
public final AxisAlignedBB getCollisionBoundingBox( IBlockState state, World world, BlockPos pos )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue