Quantcast WoWInterface - View Single Post - Help solve an Error
View Single Post
11-17-19, 01:23 AM   #2
nUI Maintainer
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,374
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.
  Reply With Quote