@Override
public boolean fertilize(World world, Random rand, int x, int y, int z, FertilizerType fertilizerType)
{
if(world.getBlockId(x, y, z) == this.getFertilizableBlockId())
{
IFruitBearer f = ForestryUtils.getFruitBearer(world.getBlockTileEntity(x, y, z));
if(f.hasFruit() && f.getRipeness() < 1.0f)
{
BonemealEvent event = new BonemealEvent(null, world, 1, x, y, z);
MinecraftForge.EVENT_BUS.post(event);
if(event.getResult().equals(BonemealEvent.Result.ALLOW))
{