mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +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
|
||||
libdebuff:RemovePending()
|
||||
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)
|
||||
libdebuff:RevertLastAction()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user