mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 11:30:48 +00:00
string.find fix - missing parameters, thanks to jrc13245
string.find fix - missing parameters, thanks to jrc13245
This commit is contained in:
+1
-1
@@ -949,7 +949,7 @@ libpredict.sender:SetScript("OnEvent", function()
|
|||||||
if spell == REGROWTH then
|
if spell == REGROWTH then
|
||||||
-- Extract rank from spell_queue[2] which contains "spell + rank"
|
-- Extract rank from spell_queue[2] which contains "spell + rank"
|
||||||
local fullSpell = spell_queue[2]
|
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
|
local rankNum = rankStr and tonumber(rankStr) or nil
|
||||||
|
|
||||||
if this.regrowth_timer then
|
if this.regrowth_timer then
|
||||||
|
|||||||
Reference in New Issue
Block a user