forked from wow/OmicronFrames
Make UnitGroup trigger sort on UNIT_PET
This commit is contained in:
1 parent
5ac84782d2
commit
77ae4ddad3
1 file changed
+5
@@ -84,6 +84,7 @@ function UnitGroup:RegisterEvents()
|
||||
frame:RegisterEvent("GROUP_ROSTER_UPDATE")
|
||||
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
|
||||
frame:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
frame:RegisterEvent("UNIT_PET")
|
||||
end
|
||||
|
||||
function UnitGroup:GROUP_ROSTER_UPDATE()
|
||||
@@ -94,6 +95,10 @@ function UnitGroup:PLAYER_ENTERING_WORLD()
|
||||
self:OnRosterUpdate()
|
||||
end
|
||||
|
||||
function UnitGroup:UNIT_PET()
|
||||
self:OnRosterUpdate()
|
||||
end
|
||||
|
||||
function UnitGroup:PLAYER_REGEN_ENABLED()
|
||||
self:OnLeaveCombat()
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user