Skip to content

Commit

Permalink
Small fix for fruit tree leaves randomly causing issues with check_de…
Browse files Browse the repository at this point in the history
…cay property from vanilla BlockLeaves
  • Loading branch information
DisasterMoo committed Jul 30, 2019
1 parent d2a2c35 commit a49b18d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ public AxisAlignedBB getCollisionBoundingBox(IBlockState blockState, IBlockAcces
return NULL_AABB;
}

@Override
public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand)
{
//This is here so it won't cause issues with check_decay
}

@Override
public void randomTick(World world, BlockPos pos, IBlockState state, Random random)
{
Expand Down

0 comments on commit a49b18d

Please sign in to comment.