Quantcast

probably the fix for http://www.tukui.org/forums/topic.php?id=39354

Darth Predator [04-24-17 - 11:44]
probably the fix for http://www.tukui.org/forums/topic.php?id=39354
Filename
ElvUI_SLE/modules/professions/deconstruct.lua
diff --git a/ElvUI_SLE/modules/professions/deconstruct.lua b/ElvUI_SLE/modules/professions/deconstruct.lua
index efa6891..1a0fa34 100644
--- a/ElvUI_SLE/modules/professions/deconstruct.lua
+++ b/ElvUI_SLE/modules/professions/deconstruct.lua
@@ -205,6 +205,7 @@ function Pr:DeconstructParser(...)
 	local class, subclass = select(6, T.GetItemInfo(item))
 	if not link then return end
 	local itemString = T.match(link, "item[%-?%d:]+")
+	if not itemString then return end
 	local _, id = T.split(":", itemString)
 	if not id or id == "" then return end
 	if(item and not T.InCombatLockdown()) and (Pr.DeconstructMode == true or (E.global.sle.LOCK.TradeOpen and self:GetOwner():GetName() == "TradeRecipientItem7ItemButton")) then