try this
Lua Code:
local f = CreateFrame'Frame'
f:RegisterEvent'ADDON_LOADED'
f:SetScript('OnEvent', function(_, _, addon)
if addon == 'FeralDotDamage' then
FeralDotDamageMainFrameStatusBarEnergy:CreateBeautyBorder(12)
f:UnregisterAllEvents()
end
end)
if that doesn't work, try:
Lua Code:
if IsAddOnLoaded'FeralDotDamage' then
print'feraldotdamage has loaded' -- you can delete this afterwards, its just to see if the addon is loaded before zBorders is
FeralDotDamageMainFrameStatusBarEnergy:CreateBeautyBorder(12)
end
i've noticed some weird issues with order of addon loading, and i think i remember a friend telling me his were being loaded in order from z to a on the beta — might be the case live too.
those gnosis frame names are either wrong (likely) or very very badly named globals. the error suggests the former. if the latter,
yikes — i'd personally find the source code and give them reasonable names. 'gnosis_player' etc.