mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
libdebuff: check lastspell before accessing it
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ libdebuff:SetScript("OnEvent", function()
|
|||||||
-- instant removal of the pending spell
|
-- instant removal of the pending spell
|
||||||
libdebuff:RemovePending()
|
libdebuff:RemovePending()
|
||||||
return
|
return
|
||||||
elseif effect and lastspell.start_old and lastspell.effect == effect then
|
elseif effect and lastspell and lastspell.start_old and lastspell.effect == effect then
|
||||||
-- late removal of debuffs (e.g hunter arrows as they hit late)
|
-- late removal of debuffs (e.g hunter arrows as they hit late)
|
||||||
libdebuff:RevertLastAction()
|
libdebuff:RevertLastAction()
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user