mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-01 16:36:56 +00:00
Drive the mounted trigger from PLAYER_MOUNT_DISPLAY_CHANGED
IsMounted reads the mount display field, which this event watches. The trigger listened to UNIT_AURA_DELTA, which can fire before that field updates and only worked because the switch waits half a second. UNIT_AURA_DELTA still drives the stealth and dining triggers.
This commit is contained in:
@@ -1536,7 +1536,8 @@ pfUI:RegisterModule("equipmentmanager", function()
|
||||
|
||||
engineEvents:RegisterEvent("PLAYER_ENTERING_WORLD")
|
||||
engineEvents:RegisterEvent("PLAYER_LEAVING_WORLD")
|
||||
engineEvents:RegisterUnitEvent("UNIT_AURA_DELTA", "player") -- mounted, stealth, dining
|
||||
engineEvents:RegisterUnitEvent("UNIT_AURA_DELTA", "player") -- stealth, dining
|
||||
engineEvents:RegisterEvent("PLAYER_MOUNT_DISPLAY_CHANGED")
|
||||
engineEvents:RegisterEvent("UPDATE_SHAPESHIFT_FORM")
|
||||
engineEvents:RegisterEvent("ZONE_CHANGED")
|
||||
engineEvents:RegisterEvent("ZONE_CHANGED_INDOORS")
|
||||
|
||||
Reference in New Issue
Block a user