From 873cb4755f2f208d75c2def0d86c48af2cc4c205 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 1 Sep 2012 01:41:31 -0500 Subject: [PATCH] Fixed combaticon error if unitframes was disabled Signed-off-by: Repooc --- ElvUI_SLE/modules/unitframes/units/player.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ElvUI_SLE/modules/unitframes/units/player.lua b/ElvUI_SLE/modules/unitframes/units/player.lua index e616f08..b8580b8 100644 --- a/ElvUI_SLE/modules/unitframes/units/player.lua +++ b/ElvUI_SLE/modules/unitframes/units/player.lua @@ -1,4 +1,5 @@ local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore +if not E.private.unitframe.enable then return end local UF = E:GetModule('UnitFrames'); local LSM = LibStub("LibSharedMedia-3.0"); -- 1.7.9.5