mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
module: add option to disable pfUI-UnitFrames
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
pfUI:RegisterModule("player", function ()
|
||||
-- do not go further on disabled UFs
|
||||
if pfUI_config.unitframes.disable == "1" then return end
|
||||
|
||||
PlayerFrame:Hide()
|
||||
PlayerFrame:UnregisterAllEvents()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user