              }
  
              if (!par1EntityPlayer.isUsingItem())
-@@ -335,29 +384,56 @@
+@@ -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)
      {

 
                 if (var7 != null)
                 {
@@ -275,9 +321,11 @@
                     if (var7.stackSize == 0)
                     {
                         this.thisPlayerMP.destroyCurrentEquippedItem();
+                        MinecraftForge.EVENT_BUS.post(new PlayerDestroyItemEvent(thisPlayerMP, var7));
                     }
                 }
 

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