mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
fix energy/mana/rage flicker in raids
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ pfUI:RegisterModule("player", function ()
|
||||
pfUI.uf.player:RegisterEvent("PARTY_LOOT_METHOD_CHANGED")
|
||||
|
||||
pfUI.uf.player:SetScript("OnEvent", function()
|
||||
if event == "UNIT_DISPLAYPOWER" or event == "PLAYER_ENTERING_WORLD" then
|
||||
if ( event == "UNIT_DISPLAYPOWER" and arg1 and arg1 == "player" ) or event == "PLAYER_ENTERING_WORLD" then
|
||||
pfUI.uf.player.power.bar:SetValue(0)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user