mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
actionbar: check for reagent table index not nil
This commit is contained in:
@@ -1612,7 +1612,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
|
||||
local _, reagents = scanner:Find(reagent_capture)
|
||||
|
||||
-- update on reagent requirement changes
|
||||
if reagent_slots[slot] ~= reagents then
|
||||
if reagents and reagent_slots[slot] ~= reagents then
|
||||
reagent_counts[reagents] = reagent_counts[reagents] or 0
|
||||
reagent_slots[slot] = reagents
|
||||
updatecache[slot] = true
|
||||
|
||||
Reference in New Issue
Block a user