mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 00:56:02 +00:00
buff: only update buffs on player events
This commit is contained in:
@@ -5,6 +5,7 @@ pfUI:RegisterModule("buff", function ()
|
||||
pfUI.buff:RegisterEvent("UNIT_AURA")
|
||||
pfUI.buff:RegisterEvent("UNIT_MODEL_CHANGED")
|
||||
pfUI.buff:SetScript("OnEvent", function ()
|
||||
if event == "UNIT_AURA" and arg1 ~= "player" then return end
|
||||
pfUI.buff:UpdateSkin()
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user