Minor bugfixes
This commit is contained in:
@@ -4,8 +4,11 @@ aura_env.getItemInfo = function(msg)
|
||||
local name = msg:match("h%[(.+)%]") or ""
|
||||
local quantity = msg:match("x(%d+)") or 1
|
||||
|
||||
local icon = WeakAurasSaved.Cyka.ItemCache[name].icon or 134400
|
||||
local color = msg:match("%|cff(.){6}") or "ffffff"
|
||||
local icon = 134400
|
||||
if WeakAurasSaved.Cyka.ItemCache[name] then
|
||||
icon = WeakAurasSaved.Cyka.ItemCache[name].icon
|
||||
end
|
||||
local color = msg:match("cff(%w%w%w%w%w%w)") or "ffffff"
|
||||
|
||||
return name, icon, quantity, color
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user