Skip to content

Commit

Permalink
actionbar: check for reagent table index not nil
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed May 10, 2024
1 parent b49afca commit d7deff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/actionbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7deff8

Please sign in to comment.