This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bugs

git-svn-id: svn://svn.wowinterface.com/oUF_BarFader-229/trunk@14 cbe42a47-3b53-4817-a5a9-47e79666164c
  • Loading branch information...
1 parent 338da1e commit 865d3c831d587ebf1457bc855de018eacfe9d5c3 p3lim-52096 committed Dec 21, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 oUF_BarFader/oUF_BarFader.lua
@@ -21,7 +21,7 @@ end
local function Update(self)
if(self.unit == 'player' or self.unit == 'pet' or self.unit == 'focus' or self.unit == 'focustarget' or self.unit == 'targettarget') then
- if(self.Castbar.casting or self.Castbar.channeling) then
+ if(self.Castbar and (self.Castbar.casting or self.Castbar.channeling)) then
self:SetAlpha(self.BarFadeMaxAlpha or 1)
elseif(UnitAffectingCombat(self.unit)) then
self:SetAlpha(self.BarFadeMaxAlpha or 1)

0 comments on commit 865d3c8

Please sign in to comment.