Skip to content

Commit

Permalink
Update OutfitterScripting.lua again
Browse files Browse the repository at this point in the history
Previous fix stopped the tracking implementation working when character knew the spell (oops).
  • Loading branch information
Elesario authored Jul 6, 2023
1 parent da8f5c0 commit 7cc26e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OutfitterScripting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@ if event == "OUTFIT_EQUIPPED" then
end
if setting.EnableFishTracking then
if Outfitter:GetTrackingEnabled(133888) then
local _, vIndex = Outfitter:GetTrackingEnabled(133888)
if vIndex then
setting.savedTracking = Outfitter:GetCurrentSpellTrackingEnabled()
Outfitter:SetTrackingEnabled(133888, 1)
setting.didSetTracking = true
Expand Down

0 comments on commit 7cc26e2

Please sign in to comment.