user:/AddOns/LeoDolmenRunner/LeoDolmenRunner.lua:125: attempt to index a nil value
stack traceback:
user:/AddOns/LeoDolmenRunner/LeoDolmenRunner.lua:125: in function 'OnAddOnLoaded'
<Locals> event = 65536, addonName = "LeoDolmenRunner" </Locals>
looks fine to me.if not LeoDolmenRunner.settings.inviter.blacklist then LeoDolmenRunner.settings.inviter.blacklist = {} end
I tried this, but I'm getting a UI error on character load:user:/AddOns/LeoDolmenRunner/LeoDolmenRunner.lua:125: attempt to index a nil value
stack traceback:
user:/AddOns/LeoDolmenRunner/LeoDolmenRunner.lua:125: in function 'OnAddOnLoaded'
<Locals> event = 65536, addonName = "LeoDolmenRunner" </Locals>
Not sure what the problem is, because the offending line:looks fine to me.if not LeoDolmenRunner.settings.inviter.blacklist then LeoDolmenRunner.settings.inviter.blacklist = {} end
Commenting out line 125 causes a similar error to be thrown on line 126, which has similar syntax.
Oddly, I was able to get it to work by commenting out both lines 125 and 126. Go figure.
EDIT:
As I suspected, that didn't actually make it work. Although it loads fine with these lines commented out, it still doesn't do any good - killing any enemy causes UI errors to be thrown.