actionbar: remove item count from reagent strings

This commit is contained in:
shagu
2024-05-19 14:30:11 +02:00
parent 57fd9b5178
commit 2be1cacdfc
+3
View File
@@ -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