diff --git a/Core.lua b/Core.lua index 84dd710..79f74ff 100644 --- a/Core.lua +++ b/Core.lua @@ -153,7 +153,11 @@ local function ItemTooltipOverride(self) if itemID then TooltipLine(self, itemID, "ItemID") - RPPMTooltip(self, GetItemSpellID(itemID)) + local spellID = GetItemSpellID(itemID) + if spellID then + TooltipLine(self, spellID, "SpellID") + RPPMTooltip(self, GetItemSpellID(itemID)) + end end end end diff --git a/README.md b/README.md index 1b5ee83..dc3c02a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ If there is hotfixes in game, you will just have to update the addon to get the - RPPM - Item : - ID + - Spell ID + - RPPM - Artifact : - Artifact ID - Spell ID