mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
unitframes: run events on unit happiness
This commit is contained in:
+1
-1
@@ -615,7 +615,7 @@ function pfUI.uf.OnEvent()
|
||||
pfUI.uf:RefreshUnit(this, "lootIcon")
|
||||
elseif event == "PARTY_LEADER_CHANGED" then
|
||||
pfUI.uf:RefreshUnit(this, "leaderIcon")
|
||||
elseif event == "UNIT_PET" and this.label == "pet" then
|
||||
elseif ( event == "UNIT_HAPPINESS" or event == "UNIT_PET" ) and this.label == "pet" then
|
||||
pfUI.uf:RefreshUnit(this)
|
||||
|
||||
-- UNIT_XXX Events
|
||||
|
||||
Reference in New Issue
Block a user