Hi all,
today I go in a m+ and suddendly I got this error:
Lua Code:
2x [ADDON_ACTION_BLOCKED] AddOn 'gmUnitframes' tried to call the protected function 'Boss2TargetFrame:Hide()'.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: in function `Hide'
[string "@FrameXML\TargetFrame.lua"]:112: in function `TargetFrame_Update'
[string "@FrameXML\TargetFrame.lua"]:178: in function `OnEvent'
[string "@FrameXML\UnitFrame.lua"]:917: in function <FrameXML\UnitFrame.lua:915>
The only part of the code where I touch the BossX settings is this:
Lua Code:
for i = 1, 5 do
local f = _G["Boss"..i.."TargetFrame"]
f:SetParent(UIParent)
end
for i = 2, 5 do
_G["Boss"..i.."TargetFrame"]:SetPoint("TOPLEFT", _G["Boss"..(i-1).."TargetFrame"], "BOTTOMLEFT", 0, 0)
end
But it should not taint I think.
Any idea ?
I attach the whole addon code (core.lua) to help.
Thanks.