@Override
public void onBlockHarvested(World world, int x, int y, int z, int metadata, EntityPlayer player) {
if( player.capabilities.isCreativeMode )
return;
TileWorkbench workbench = (TileWorkbench) world.getBlockTileEntity( x, y, z );
if( workbench != null ) {
ItemStack[] inventoryContents = workbench.craftingGrid.getContents();
for( ItemStack current : inventoryContents ) {
if( current == null )
continue;