mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
actionbar: remove item count from reagent strings
This commit is contained in:
@@ -1611,6 +1611,9 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
|
||||
scanner:SetAction(slot)
|
||||
local _, reagents = scanner:Find(reagent_capture)
|
||||
|
||||
-- remove reagent counts if existing
|
||||
reagents = reagents and string.gsub(reagents, " %((.+)%)", "")
|
||||
|
||||
-- update on reagent requirement changes
|
||||
if reagents and reagent_slots[slot] ~= reagents then
|
||||
reagent_counts[reagents] = reagent_counts[reagents] or 0
|
||||
|
||||
Reference in New Issue
Block a user