I am having trouble figuring out the function to hook. I had some high hopes when I found
https://github.com/Shadowed/Shadowed...ons-and-fields. This lead me to write this:
Code:
local check_units = CreateFrame("Frame", nil, UIParent)
check_units:RegisterEvent("ADDON_LOADED")
check_units:SetScript("OnEvent", function(self, event, AddOn)
if AddOn == "ShadowedUnitFrames" then
hooksecurefun(frame, "RegisterUpdateFunc", function(frame)
if frame == "SUFUnitplayer" then
LCI:frame_unitPlayer()
end
end)
end
end)
This didn't work... I'm stumped for now. Going to get some sleep and try again tomorrow.