turtle-wow: only patch libtotem if existing

This commit is contained in:
shagu
2025-02-01 22:44:59 +01:00
parent 757f525ce9
commit 5a23120e43
+1 -1
View File
@@ -47,7 +47,7 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
-- turtle wow totemic recall clear totem indicators
local _, class = UnitClass("player")
if class == "SHAMAN" then
if libtotem and class == "SHAMAN" then
local trecall = CreateFrame("Frame", "pfTotemsRecall", UIParent)
trecall:RegisterEvent("CHAT_MSG_SPELL_SELF_BUFF")
trecall:SetScript("OnEvent", function()