Merge pull request #417 from ronpetit/master
fixed outfit for 7.6 fix #415
This commit is contained in:
commit
83dd92cfec
|
@ -94,7 +94,7 @@ function create(creatureOutfit, outfitList, creatureMount, mountList)
|
|||
addon.widget.onCheckChange = function(self) onAddonCheckChange(self, addon.value) end
|
||||
end
|
||||
|
||||
if outfit.addons > 0 then
|
||||
if outfit.addons and outfit.addons > 0 then
|
||||
for _, i in pairs(ADDON_SETS[outfit.addons]) do
|
||||
addons[i].widget:setChecked(true)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue