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:
SquidDev 2017-05-05 15:24:53 +01:00
parent 09215daa03
commit d87b0e9435
1 changed files with 0 additions and 6 deletions

View File

@ -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 )
{