Quantcast

Fix for Curse Ticket: #15

Repooc [03-17-13 - 02:29]
Fix for Curse Ticket: #15
Filename
ElvUI_SLE/modules/unitframes/units/player.lua
diff --git a/ElvUI_SLE/modules/unitframes/units/player.lua b/ElvUI_SLE/modules/unitframes/units/player.lua
index 2d398c0..22e8548 100755
--- a/ElvUI_SLE/modules/unitframes/units/player.lua
+++ b/ElvUI_SLE/modules/unitframes/units/player.lua
@@ -99,6 +99,8 @@ function UF:Update_PlayerFrame(frame, db)

 		if USE_POWERBAR_OFFSET then
 			health:Point("TOPRIGHT", frame, "TOPRIGHT", -(BORDER+POWERBAR_OFFSET), DEPTH)
+		elseif USE_POWERBAR_OFFSET and E.db.unitframe.units.player.power.offset == 0 then
+			health:Point("TOPRIGHT", frame, "TOPRIGHT", -(BORDER+POWERBAR_OFFSET), DEPTH)
 		else
 			health:Point("TOPRIGHT", frame, "TOPRIGHT", -BORDER, DEPTH)
 		end