Commit 5d9232f9 authored by Merathilis's avatar Merathilis
Browse files

Make sure the db exists here.

parent e45f6edd
......@@ -194,6 +194,8 @@ end
function module:UpdateGemInfo(Slot, which)
local unit = which == 'Character' and 'player' or (_G['InspectFrame'] and _G['InspectFrame'].unit)
if not unit then return end
module.db = E.db.mui.armory
for i = 1, maxGemSlots do
local GemLink
if not Slot['MER_Gem'..i] then return end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment