From faf08ccbd764243831438eab4bd6cd91ae45dd27 Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Tue, 6 Jun 2023 02:18:44 -0700 Subject: [PATCH] oUF/Tags: fix untagging element with no __tags (idk what this actually does but nameplates need it) --- ElvUI/Libraries/oUF/elements/tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI/Libraries/oUF/elements/tags.lua b/ElvUI/Libraries/oUF/elements/tags.lua index 60969fd..36dfc8c 100644 --- a/ElvUI/Libraries/oUF/elements/tags.lua +++ b/ElvUI/Libraries/oUF/elements/tags.lua @@ -841,7 +841,7 @@ Used to unregister a tag from a unit frame. * fs - the font string holding the tag (FontString) --]] local function Untag(self, fs) - if(not fs) then return end + if(not fs or not self.__tags) then return end unregisterEvents(fs) for _, timers in next, eventlessUnits do