if (result != null){
// Check that the player has the correct amount of items
if (inv.contains(itemHand.getTypeId())){
// Remove the item using the type id, amount and durability (damage value)
inv.removeItem(new ItemStack(itemHand.getTypeId(), amount, itemHand.getDurability()));
inv.addItem(new ItemStack(result.getTypeId(), amount));
LogHelper.showInfo("smeltSuccess#####[ " + Utils.userFriendlyNames(itemHand.getType().name()), player, ChatColor.GREEN);
} else {
LogHelper.showInfo("smeltNotEnough#####[ " + Utils.userFriendlyNames(itemHand.getType().name()), player, ChatColor.RED);
}