mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
(maybe) improve hitboxes on tomato plants?
This commit is contained in:
parent
0800865661
commit
9fdaf9035d
1 changed files with 2 additions and 2 deletions
|
@ -47,13 +47,13 @@ public class BlockTomatoPlant extends BlockCrops {
|
|||
@Deprecated
|
||||
@Override
|
||||
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
|
||||
return BOUNDING_BOX.offset(getOffset(state, source, pos));
|
||||
return BOUNDING_BOX.offset(state.getOffset(source, pos));
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
return getBoundingBox(state, world, pos);
|
||||
return state.getBoundingBox(world, pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue