From f7bcad6266e379ca425c0b65dce156ee19df5219 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Wed, 11 Feb 2026 19:41:44 +0100 Subject: [PATCH] fixed a typo fixed a typo --- libs/libpredict.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libpredict.lua b/libs/libpredict.lua index ce7739a1..de15dbda 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.match(fullSpell, "Rank (%d+)") or nil + local rankStr = fullSpell and string.find(fullSpell, "Rank (%d+)") or nil local rankNum = rankStr and tonumber(rankStr) or nil if this.regrowth_timer then