                  if (var6 && var8)
                  {
                      Block.blocksList[var4].harvestBlock(this.theWorld, this.thisPlayerMP, par1, par2, par3, var5);
-@@ -318,6 +366,7 @@
+@@ -318,6 +365,7 @@
              if (var6.stackSize == 0)
              {
                  par1EntityPlayer.inventory.mainInventory[par1EntityPlayer.inventory.currentItem] = null;

     }
 
     /**
@@ -367,4 +443,13 @@
     {
         this.theWorld = par1WorldServer;
     }

             }
 
             if (!par1EntityPlayer.isUsingItem())
@@ -335,29 +383,56 @@
      */
     public boolean activateBlockOrUseItem(EntityPlayer par1EntityPlayer, World par2World, ItemStack par3ItemStack, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
     {
