Commit 7b5c3bb8 authored by Robin Schoonover's avatar Robin Schoonover

Fix PetJournal hooks.

parent 48f43f8f
......@@ -31,13 +31,13 @@ end
-- hook on addon load
--
if IsAddOnLoaded("Blizzard_PetJournal") then
if IsAddOnLoaded("Blizzard_Collections") then
HookPetCard()
else
local frame = CreateFrame("FRAME")
frame:RegisterEvent("ADDON_LOADED")
frame:SetScript("OnEvent", function(self, event, addon_name)
if addon_name == "Blizzard_PetJournal" then
if addon_name == "Blizzard_Collections" then
HookPetCard()
self:UnregisterEvent("ADDON_LOADED")
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment