public void onBlockRemoval(World par1World, int par2, int par3, int par4)
    {
        byte var5 = 4;
        int var6 = var5 + 1;

        if (par1World.checkChunksExist(par2 - var6, par3 - var6, par4 - var6, par2 + var6, par3 + var6, par4 + var6))
        {
            for (int var7 = -var5; var7 <= var5; ++var7)
            {
                for (int var8 = -var5; var8 <= var5; ++var8)
                {
                    for (int var9 = -var5; var9 <= var5; ++var9)
                    {
                        int var10 = par1World.getBlockId(par2 + var7, par3 + var8, par4 + var9);

                        if (var10 == Block.leaves.blockID)
                        {
                            int var11 = par1World.getBlockMetadata(par2 + var7, par3 + var8, par4 + var9);

                            if ((var11 & 8) == 0)
                            {
                                par1World.setBlockMetadata(par2 + var7, par3 + var8, par4 + var9, var11 | 8);
                            }
                        }
                    }
                }
            }
        }
    }