Quantcast WoWInterface - View Single Post - Help solve an Error
View Single Post
11-17-19, 07:37 AM   #3
A Molten Giant
tinyu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 834
Originally Posted by Xrystal View Post
A quick look and there is no validation that UnitID exists or is valid prior to using it ..

UnitDebuff(unit,index) is required .. you have UnitDebuff(UnitID,GHOST)

I assume GHOST is a valid index number, if not you might want to check that as well.
Which means UnitID must be nil or invalid and thus causing an error when attempting to use it.

It might not be the reason but if you haven't checked it out it might be worth doing.
Thank you very much, now I just need to find some dead people to test it on lol.
"There's no such thing as too many addons."
Titan Dev Team Member.
  Reply With Quote