Crash when unequipping a piece of Azerite armor
seirl opened this issue ยท 1 comments
How to reproduce: unequip a piece of Azerite Armor, then /reload
to flush the WQA cache of items, then run /wqa
.
Traceback:
WQAchievements\WQAchievements-v8.2.0-9release.lua:1532: attempt to compare nil with number
WQAchievements\WQAchievements-v8.2.0-9release.lua:1532: in function `CheckItems'
WQAchievements\WQAchievements-v8.2.0-9release.lua:1334: in function `?'
DataStore\libs\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:50>
The line is this one:
if itemLevel > itemLevel1 and itemLevel >= self.db.profile.options.reward.gear.itemLevelUpgradeMin then
One of these is probably set to nil, making the comparison crash.