mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed the pet/vehicle cast bar not being hidden when hiding the "blizzard cast bar" via the player cast module
This commit is contained in:
@ -346,9 +346,12 @@ function CastBar.prototype:ToggleBlizzCast(on)
|
||||
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_START");
|
||||
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE");
|
||||
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_STOP");
|
||||
|
||||
PetCastingBarFrame:RegisterEvent("UNIT_PET");
|
||||
else
|
||||
-- remove blizz cast bar
|
||||
CastingBarFrame:UnregisterAllEvents()
|
||||
PetCastingBarFrame:UnregisterAllEvents()
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user