Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodDragon2580 committed Aug 14, 2024
1 parent 68f2398 commit 6245769
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions MythicPlusDrop/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function Addon:PLAYER_LOGIN()
self:UnregisterEvent('PLAYER_LOGIN', self)
end

Addon.Name = GetAddOnMetadata(ADDON, "Title")
Addon.ShortName = GetAddOnMetadata(ADDON, "X-Short-Name") or string.sub(ADDON, 1, 16)
Addon.Version = GetAddOnMetadata(ADDON, "X-Packaged-Version")
Addon.Name = C_AddOns.GetAddOnMetadata(ADDON, "Title")
Addon.ShortName = C_AddOns.GetAddOnMetadata(ADDON, "X-Short-Name") or string.sub(ADDON, 1, 16)
Addon.Version = C_AddOns.GetAddOnMetadata(ADDON, "X-Packaged-Version")
_G[ADDON] = Addon
2 changes: 1 addition & 1 deletion MythicPlusDrop/MythicPlusDrop.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 110002
## Title: |cffd6266cMythicPlusDrop|r
## Version: 8.2
## Version: 8.3
## Notes: Info for Mythic Dungeons
## Author: BloodDragon2580
## SavedVariables: MythicPlusDrop_Config, MythicPlusDrop_Data
Expand Down
2 changes: 1 addition & 1 deletion MythicPlusDrop/ObjectiveTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ local function ShowBlock(timerID, elapsedTime, timeLimit)
end
end

if IsAddOnLoaded("!KalielsTracker") then
if C_AddOns.IsAddOnLoaded("!KalielsTracker") then
hooksecurefunc("KT_Scenario_ChallengeMode_UpdateTime", UpdateTime)
hooksecurefunc("KT_Scenario_ChallengeMode_ShowBlock", ShowBlock)
else
Expand Down
4 changes: 2 additions & 2 deletions MythicPlusDrop/Schedule.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local function UpdatePartyKeystones()
end

if not scheduleEnabled then return end
if not IsAddOnLoaded("Blizzard_ChallengesUI") then return end
if not C_AddOns.IsAddOnLoaded("Blizzard_ChallengesUI") then return end

local playerRealm = select(2, UnitFullName("player")) or ""

Expand Down Expand Up @@ -363,7 +363,7 @@ end

function Mod:SetPartyKeystoneRequest()
requestPartyKeystones = true
if IsAddOnLoaded("Blizzard_ChallengesUI") and ChallengesFrame:IsShown() then
if C_AddOns.IsAddOnLoaded("Blizzard_ChallengesUI") and ChallengesFrame:IsShown() then
self:SendPartyKeystonesRequest()
UpdatePartyKeystones()
end
Expand Down

0 comments on commit 6245769

Please sign in to comment.