You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
707 B
19 lines
707 B
|
1 year ago
|
local addonName, addon = ...
|
||
|
|
--addon = LibStub("AceAddon-3.0"):NewAddon(addon, addonName, "AceEvent-3.0", "AceConsole-3.0", "AceHook-3.0")
|
||
|
|
addon = LibStub("AceAddon-3.0"):GetAddon(addonName)
|
||
|
|
|
||
|
|
function addon:UpdatePetTracker()
|
||
|
|
end
|
||
|
|
|
||
|
|
if not IsAddOnLoaded("PetTracker") then return end
|
||
|
|
|
||
|
|
--Fixes frame issues when PetTracker is being used
|
||
|
|
function addon:UpdatePetTracker()
|
||
|
|
if not PetTrackerRivalsJournalList then return end
|
||
|
|
PetTrackerRivalsJournalList:HookScript("OnShow", function() BetterWardrobeCollectionFrame:Hide() end)
|
||
|
|
PetTrackerRivalsJournalList:HookScript("OnHide", function()
|
||
|
|
if WardrobeCollectionFrame:IsShown() then
|
||
|
|
BetterWardrobeCollectionFrame:Show()
|
||
|
|
end
|
||
|
|
end)
|
||
|
|
end
|