Skip to content

Commit

Permalink
scan macros in addition to spells, works if showtooltip is set in mac…
Browse files Browse the repository at this point in the history
…ro with spell name.
  • Loading branch information
Pazza committed Oct 4, 2019
1 parent 2ea98e5 commit e134e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local function init ()
function (self)
local slot = self.action

if (GetActionInfo(slot) == 'spell') then
if (GetActionInfo(slot) ~= 'item') then
local reagent = reagentCheck(slot)
if (reagent) then
local itemCount = getInventoryCount(reagent)
Expand Down

0 comments on commit e134e2d

Please sign in to comment.