Revert "3.3.5 pushes an enpty string for addon metadata not found"

This reverts commit 46e89a2b82.
This commit is contained in:
andrew6180
2023-12-31 06:11:50 -07:00
parent 878fcbdb18
commit 68b5822ba5
@@ -393,7 +393,7 @@ local function TryToLoadStandalone(major)
local field = "X-AceLibrary-" .. major
for i = 1, GetNumAddOns() do
if GetAddOnMetadata(i, field) ~= "" then
if GetAddOnMetadata(i, field) then
name, _, _, enabled, loadable = GetAddOnInfo(i)
loadable = (enabled and loadable) or TryToEnable(name)