Probably a safer fix to this
This commit is contained in:
parent
46e89a2b82
commit
3065f32c64
1 changed files with 3 additions and 1 deletions
|
|
@ -392,8 +392,10 @@ local function TryToLoadStandalone(major)
|
|||
end
|
||||
|
||||
local field = "X-AceLibrary-" .. major
|
||||
local metadata
|
||||
for i = 1, GetNumAddOns() do
|
||||
if GetAddOnMetadata(i, field) ~= "" then
|
||||
metadata = GetAddOnMetadata(i, field)
|
||||
if metadata and metadata ~= "" then
|
||||
name, _, _, enabled, loadable = GetAddOnInfo(i)
|
||||
|
||||
loadable = (enabled and loadable) or TryToEnable(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue