From 3cf64ceffdc82750f248360eeda48b2b67ce36f2 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Mon, 16 Feb 2026 05:52:42 +0100 Subject: [PATCH] string.find fix - missing parameters, thanks to jrc13245 string.find fix - missing parameters, thanks to jrc13245 --- libs/libpredict.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libpredict.lua b/libs/libpredict.lua index de15dbda..bc52fff0 100644 --- a/libs/libpredict.lua +++ b/libs/libpredict.lua @@ -949,7 +949,7 @@ libpredict.sender:SetScript("OnEvent", function() if spell == REGROWTH then -- Extract rank from spell_queue[2] which contains "spell + rank" local fullSpell = spell_queue[2] - local rankStr = fullSpell and string.find(fullSpell, "Rank (%d+)") or nil + local _, _, rankStr = fullSpell and string.find(fullSpell, "Rank (%d+)") local rankNum = rankStr and tonumber(rankStr) or nil if this.regrowth_timer then