From 7cc26e215c3bd51edd57a2330494017a76592784 Mon Sep 17 00:00:00 2001 From: Elesario <60847546+Elesario@users.noreply.github.com> Date: Thu, 6 Jul 2023 23:10:03 +0100 Subject: [PATCH] Update OutfitterScripting.lua again Previous fix stopped the tracking implementation working when character knew the spell (oops). --- OutfitterScripting.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OutfitterScripting.lua b/OutfitterScripting.lua index 6213213..682f54c 100644 --- a/OutfitterScripting.lua +++ b/OutfitterScripting.lua @@ -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