Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Altoholic/Services/Tooltip.lua b/Altoholic/Services/Tooltip.lua
- index 2771c80e..2107d33a 100644
- --- a/Altoholic/Services/Tooltip.lua
- +++ b/Altoholic/Services/Tooltip.lua
- @@ -7,6 +7,8 @@ local LOI = LibStub("LibObjectInfo-1.0")
- local MVC = LibStub("LibMVC-1.0")
- local AccountSharing = MVC:GetService("AltoholicUI.AccountSharing")
- +local GetItemInfo = C_Item.GetItemInfo
- +
- local storedLink = nil
- local options
- @@ -90,7 +92,8 @@ local function GetRealmsList(isAccountBound)
- local realms = {}
- table.insert(realms, DataStore.ThisRealm) -- always "this realm" first
- - if isAccountBound and options["ShowAllRealmsCount"] then
- + -- if isAccountBound and options["ShowAllRealmsCount"] then
- + if options["ShowAllRealmsCount"] then
- for realm, _ in pairs(DataStore:GetRealms()) do
- if realm ~= DataStore.ThisRealm then
- table.insert(realms, realm)
- diff --git a/DataStore_Containers/DataStore_Containers.lua b/DataStore_Containers/DataStore_Containers.lua
- index 30415348..3e7c0d75 100644
- --- a/DataStore_Containers/DataStore_Containers.lua
- +++ b/DataStore_Containers/DataStore_Containers.lua
- @@ -15,7 +15,7 @@ local thisCharacter
- local thisCharacterBank
- local DataStore, tonumber, wipe, type, time, C_Container = DataStore, tonumber, wipe, type, time, C_Container
- -local GetTime, GetInventoryItemTexture, GetInventoryItemLink, GetItemInfo = GetTime, GetInventoryItemTexture, GetInventoryItemLink, GetItemInfo
- +local GetTime, GetInventoryItemTexture, GetInventoryItemLink, GetItemInfo = GetTime, GetInventoryItemTexture, GetInventoryItemLink, C_Item.GetItemInfo
- local log = math.log
- local isRetail = (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE)
- diff --git a/DataStore_Garrisons/API/Shipments.lua b/DataStore_Garrisons/API/Shipments.lua
- index b34b4d68..96ac6852 100644
- --- a/DataStore_Garrisons/API/Shipments.lua
- +++ b/DataStore_Garrisons/API/Shipments.lua
- @@ -7,6 +7,7 @@ local addonName, addon = ...
- local thisCharacter
- local DataStore, pairs, C_Garrison = DataStore, pairs, C_Garrison
- +local GetItemInfo = GetItemInfo or C_Item.GetItemInfo
- local bit64 = LibStub("LibBit64")
- diff --git a/DataStore_Stats/DataStore_Stats.lua b/DataStore_Stats/DataStore_Stats.lua
- index 6519c7c2..38e04a61 100644
- --- a/DataStore_Stats/DataStore_Stats.lua
- +++ b/DataStore_Stats/DataStore_Stats.lua
- @@ -174,7 +174,9 @@ local function ScanMythicPlusBestForMapInfo()
- char.lastUpdate = time()
- end
- -local rewardFields = { "MythicPlusReward", "RankedPvPReward", "RaidReward" }
- +-- https://warcraft.wiki.gg/wiki/Enum.WeeklyRewardChestThresholdType
- +local rewardFields = { "MythicPlusReward", "RankedPvPReward", "RaidReward",
- + "AlsoReceiveReward", "ConcessionReward", "WorldReward" }
- local function ScanRewardType(rewardType)
- -- https://wowpedia.fandom.com/wiki/API_C_WeeklyRewards.GetActivities
Advertisement
Comments
-
- I haven't fixed the TWW issue with characters not showing up in the summary because I haven't bought TWW and it doesn't affect me. This is for retail, but it might work for Classic. I don't know if Classic has moved all the APIs into namespaces like retail did.
Add Comment
Please, Sign In to add comment
Advertisement