I keep getting this error when out on the Timeless Isle:
Code:
26x [ADDON_ACTION_BLOCKED] AddOn "BasicUI" tried to call the protected function "OverrideActionBarButton1:Show()".
!BugGrabber-r198-release\BugGrabber.lua:552: in function <!BugGrabber\BugGrabber.lua:552>
<in C code>
FrameXML\ActionButton.lua:268: in function <FrameXML\ActionButton.lua:253>
<in C code>
FrameXML\ActionButton.lua:523: in function "ActionButton_OnEvent"
FrameXML\ActionButton.lua:124: in function <FrameXML\ActionButton.lua:117>
Locals:
nil
The only OverrideActionBar code I have in my addon is to move the vehicle bar above my datapanel.
Treeston from MMO Champions help me figure out a way to move it maybe it isn't correct.
So here is the code im currently using...
Lua Code:
local bottom = function() end
-- Main Menu Bar
MainMenuBar:ClearAllPoints()
MainMenuBar:SetPoint("BOTTOM", DataPanel, "TOP", 0, -3)
MainMenuBar.ClearAllPoints = bottom
MainMenuBar.SetPoint = bottom
-- Vehicle Bar
OverrideActionBar:ClearAllPoints()
OverrideActionBar:SetPoint("BOTTOM", DataPanel, "TOP", 0, -3)
OverrideActionBar.ClearAllPoints = bottom
OverrideActionBar.SetPoint = bottom
-- Pet Battle Bar
PetBattleFrame.BottomFrame:ClearAllPoints()
PetBattleFrame.BottomFrame:SetPoint("BOTTOM", DataPanel, "TOP", 0, -3)
PetBattleFrame.BottomFrame.ClearAllPoints = bottom
PetBattleFrame.BottomFrame.SetPoint = bottom
I'm wondering if it might need to be a secure hook or maybe I could hide my datapanel when any vehicle UI shows up.
Maybe something like:
Lua Code:
hooksecurefunc('OverrideActionBar_SetDefaultAnchor', function(self)
self:SetPoint(("BOTTOM", DataPanel, "TOP", 0, -3)
end)
Still learning so any help would be great.
Thanks
Coke