Commit c94cacb8 authored by Azilroka's avatar Azilroka
Browse files

CheckAddOn Logic Update

parent 33215a32
......@@ -67,8 +67,8 @@ AddOn.AddOns = {}
AddOn.AddOnVersion = {}
for i = 1, GetNumAddOns() do
local Name = GetAddOnInfo(i)
AddOn.AddOns[strlower(Name)] = GetAddOnEnableState(AddOn.MyName, Name) == 2
local Name, _, _, _, Reason = GetAddOnInfo(i)
AddOn.AddOns[strlower(Name)] = GetAddOnEnableState(AddOn.MyName, Name) == 2 and not Reason
AddOn.AddOnVersion[strlower(Name)] = GetAddOnMetadata(Name, "Version")
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment