diff --git a/AtlasLootClassic/Core/Tooltip.lua b/AtlasLootClassic/Core/Tooltip.lua index e7c7b4e5..3822d2ef 100644 --- a/AtlasLootClassic/Core/Tooltip.lua +++ b/AtlasLootClassic/Core/Tooltip.lua @@ -123,6 +123,7 @@ local PLAYER_GUID_REGISTER = { local function AddText(self) local name, target = self:GetUnit() + if not target then return end local guid = UnitGUID(target) if guid and PLAYER_GUID_REGISTER[guid] then self:AddLine(PLAYER_GUID_REGISTER[guid])