mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 19:46:42 +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
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) {
|
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
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) {
|
public AxisAlignedBB getCollisionBoundingBox(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||||
return getBoundingBox(state, world, pos);
|
return state.getBoundingBox(world, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue