mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
panel: listen to tbc durability events
This commit is contained in:
+1
-7
@@ -334,13 +334,7 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function()
|
||||
widget:RegisterEvent("PLAYER_DEAD")
|
||||
widget:RegisterEvent("PLAYER_UNGHOST")
|
||||
widget:RegisterEvent("UNIT_INVENTORY_CHANGED")
|
||||
|
||||
-- The following event is disabled as most servers flood this event
|
||||
-- even on other peoples durability changes. Therefore the event
|
||||
-- would run about 50 times per minute (depending on the population)
|
||||
-- while being in AFK in a capital city. We hopefully might be able
|
||||
-- to bring that back, once the most popular servers accept the fix.
|
||||
-- widget:RegisterEvent("UPDATE_INVENTORY_ALERTS")
|
||||
widget:RegisterEvent("UPDATE_INVENTORY_DURABILITY")
|
||||
|
||||
widget.itemLines = {}
|
||||
widget.durability_slots = { 1, 3, 5, 6, 7, 8, 9, 10, 16, 17, 18 }
|
||||
|
||||
Reference in New Issue
Block a user