From 46e89a2b827fb5449405d9387be1827db86169fe Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:57:28 -0700 Subject: [PATCH] 3.3.5 pushes an enpty string for addon metadata not found --- AtlasLoot/Libs/DewdropLib/AceLibrary/AceLibrary.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasLoot/Libs/DewdropLib/AceLibrary/AceLibrary.lua b/AtlasLoot/Libs/DewdropLib/AceLibrary/AceLibrary.lua index 3d1278a..c71ec22 100644 --- a/AtlasLoot/Libs/DewdropLib/AceLibrary/AceLibrary.lua +++ b/AtlasLoot/Libs/DewdropLib/AceLibrary/AceLibrary.lua @@ -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)