mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-03-13 15:08:12 +00:00
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 abstract class BlockGeneric extends Block implements
|
||||
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…
x
Reference in New Issue
Block a user