mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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_START");
|
||||||
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE");
|
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_UPDATE");
|
||||||
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_STOP");
|
CastingBarFrame:RegisterEvent("UNIT_SPELLCAST_CHANNEL_STOP");
|
||||||
|
|
||||||
|
PetCastingBarFrame:RegisterEvent("UNIT_PET");
|
||||||
else
|
else
|
||||||
-- remove blizz cast bar
|
-- remove blizz cast bar
|
||||||
CastingBarFrame:UnregisterAllEvents()
|
CastingBarFrame:UnregisterAllEvents()
|
||||||
|
PetCastingBarFrame:UnregisterAllEvents()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user