Quantcast

Remove the AltPower bar for now

Adrian L Lange [06-19-14 - 23:35]
Remove the AltPower bar for now
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index d5a05dd..812b6e6 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -231,21 +231,6 @@ local UnitSpecific = {
 		ExperienceBG:SetAllPoints()
 		ExperienceBG:SetTexture(1/3, 1/3, 1/3)

-		local AltPower = CreateFrame('StatusBar', nil, self)
-		AltPower:SetPoint('BOTTOM', 0, -10)
-		AltPower:SetSize(230, 6)
-		AltPower:SetStatusBarTexture(TEXTURE)
-		AltPower:SetStatusBarColor(0.15, 0.7, 0.1)
-		AltPower:SetBackdrop(BACKDROP)
-		AltPower:SetBackdropColor(0, 0, 0)
-		AltPower:EnableMouse(true)
-		AltPower.colorTexture = true
-		self.AltPowerBar = AltPower
-
-		local AltPowerBG = AltPower:CreateTexture(nil, 'BORDER')
-		AltPowerBG:SetAllPoints()
-		AltPowerBG:SetTexture(1/3, 1/3, 1/3)
-
 		local _, playerClass = UnitClass('player')
 		if(playerClass == 'DEATHKNIGHT') then
 			local Parent = CreateFrame('Frame', nil, UIParent)