mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-19 02:50:50 +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)
|
local _, reagents = scanner:Find(reagent_capture)
|
||||||
|
|
||||||
-- update on reagent requirement changes
|
-- 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_counts[reagents] = reagent_counts[reagents] or 0
|
||||||
reagent_slots[slot] = reagents
|
reagent_slots[slot] = reagents
|
||||||
updatecache[slot] = true
|
updatecache[slot] = true
|
||||||
|
|||||||
Reference in New Issue
Block a user