mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Update outfit.lua
Fixed outfits for 7.6
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user