mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-23 16:16:56 +00:00
libpredict: check and abort on empty heal values
This commit is contained in:
+1
-1
@@ -291,8 +291,8 @@ resetcache:SetScript("OnEvent", function()
|
||||
end)
|
||||
|
||||
local function UpdateCache(spell, heal, crit)
|
||||
local heal = heal and tonumber(heal)
|
||||
if not spell or not heal then return end
|
||||
local heal = tonumber(heal)
|
||||
|
||||
if not cache[spell] or cache[spell][2] then
|
||||
-- skills or equipment changed, save whatever is detected
|
||||
|
||||
Reference in New Issue
Block a user