From 56ee47407df9dde555c84946e5e498fac6937ea7 Mon Sep 17 00:00:00 2001 From: parnic Date: Mon, 31 May 2010 15:31:58 +0000 Subject: [PATCH] - fixed a bug where Fire Leaf (and probably others) was not being considered as a millable item: the game categorizes this herb as "other" instead of "herb" --- Breakables.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Breakables.lua b/Breakables.lua index 1abfe7c..9493bce 100644 --- a/Breakables.lua +++ b/Breakables.lua @@ -3,6 +3,7 @@ local babbleInv = LibStub("LibBabble-Inventory-3.0"):GetLookupTable() local MillingId = 51005 local MillingItemSubType = babbleInv["Herb"] +local MillingItemSecondarySubType = babbleInv["Other"] local CanMill = false local ProspectingId = 31252 @@ -355,7 +356,7 @@ function Breakables:FindBreakablesInSlot(bagId, slotId) local extraInfo = BreakablesTooltipTextLeft2:GetText() - if CanMill and itemSubType == MillingItemSubType and extraInfo == ITEM_MILLABLE then + if CanMill and (itemSubType == MillingItemSubType or itemSubType == MillingItemSecondarySubType) and extraInfo == ITEM_MILLABLE then return {itemLink, itemCount, itemType, itemTexture, bagId, slotId, itemSubType, itemLevel, BREAKABLE_HERB, false} end