mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fixed player cast error for users without LibCasterCasterino installed
This commit is contained in:
@ -27,11 +27,13 @@ end
|
||||
-- module in Classic WoW
|
||||
if IceHUD.WowClassic then
|
||||
LibClassicCasterino = LibStub("LibClassicCasterino", true)
|
||||
UnitCastingInfo = function(unit)
|
||||
return LibClassicCasterino:UnitCastingInfo(unit)
|
||||
end
|
||||
UnitChannelInfo = function(unit)
|
||||
return LibClassicCasterino:UnitChannelInfo(unit)
|
||||
if LibClassicCasterino then
|
||||
UnitCastingInfo = function(unit)
|
||||
return LibClassicCasterino:UnitCastingInfo(unit)
|
||||
end
|
||||
UnitChannelInfo = function(unit)
|
||||
return LibClassicCasterino:UnitChannelInfo(unit)
|
||||
end
|
||||
end
|
||||
end
|
||||
-- end Fulzamoth change
|
||||
|
@ -1,3 +1,6 @@
|
||||
v1.12.9:
|
||||
- (Classic) Fixed error in player cast bar if the user didn't have LibCasterCasterino installed.
|
||||
|
||||
v1.12.8:
|
||||
- (Classic) Fixed TargetCast bar to work for users with the LibCasterCasterino library installed. (thanks, Fulzamoth!)
|
||||
|
||||
|
Reference in New Issue
Block a user