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:
Brues
2026-10-31 13:20:03 -05:00
parent 54e66fea11
commit 17fe9f0dd9
+2 -1
View File
@@ -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")