Add modules/pet.lua

This commit is contained in:
2026-09-13 09:52:12 +00:00
parent 4721d29a96
commit 71411a597c
+8
View File
@@ -0,0 +1,8 @@
pfUI:RegisterModule("pet", "vanilla:tbc", function ()
-- do not go further on disabled UFs
if C.unitframes.disable == "1" then return end
pfUI.uf.pet = pfUI.uf:CreateUnitFrame("Pet", nil, C.unitframes.pet)
pfUI.uf.pet:UpdateFrameSize()
pfUI.uf.pet:SetPoint("BOTTOM", UIParent , "BOTTOM", 0, 163)
UpdateMovable(pfUI.uf.pet)
end)