pet: disable with pfUI-UnitFrames

This commit is contained in:
shagu
2016-11-14 23:57:49 +01:00
parent bf66788441
commit 3ff26bd682
+3
View File
@@ -1,4 +1,7 @@
pfUI:RegisterModule("pet", function ()
-- do not go further on disabled UFs
if pfUI_config.unitframes.disable == "1" then return end
pfUI.uf.pet = CreateFrame("Button","pfPet",UIParent)
pfUI.uf.pet:SetWidth(100)