View Single Post
05-21-11, 04:37 PM   #1
vj44
A Defias Bandit
Join Date: May 2011
Posts: 2
Addon stops working on combat

so, i wanted a super easy and small addon to 1. remove the Griffins from my action bars and 2. move the right actionbar, i did get this all working, only problem is, that everytime i get into combat, the bars are moved back down to the normal spot, and then once i get out of combat, addon starts working once more and moves the bars back

Code:
local f = CreateFrame("Frame")
f:SetScript("OnUpdate", function(self, e)
	
	MultiBarRight:ClearAllPoints() 
	MultiBarRight:SetPoint("CENTER",1028,120)

	MainMenuBarLeftEndCap:Hide()
	MainMenuBarRightEndCap:Hide() 
end)
anyone know what the problem might be?
  Reply With Quote