mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-12 08:30:00 +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)
|
end)
|
||||||
|
|
||||||
local function UpdateCache(spell, heal, crit)
|
local function UpdateCache(spell, heal, crit)
|
||||||
|
local heal = heal and tonumber(heal)
|
||||||
if not spell or not heal then return end
|
if not spell or not heal then return end
|
||||||
local heal = tonumber(heal)
|
|
||||||
|
|
||||||
if not cache[spell] or cache[spell][2] then
|
if not cache[spell] or cache[spell][2] then
|
||||||
-- skills or equipment changed, save whatever is detected
|
-- skills or equipment changed, save whatever is detected
|
||||||
|
|||||||
Reference in New Issue
Block a user