From 2ee7a3310dc4efcd7c358d25e0ca97fe032e0578 Mon Sep 17 00:00:00 2001 From: Sonaza Date: Thu, 11 Jul 2019 21:42:31 +0300 Subject: [PATCH] Patch 8.2.0 --- CHANGELOG.md | 4 ++++ Experiencer.toc | 4 ++-- modules/artifact.lua | 7 ++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9c9c8e..4f07bdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.6 +* Patch 8.2.0. +* Attempted blind fix for artifact module GetItemInfo error. + ## 3.0.5 * Fixed reputation module menu not properly changing reputations. * Fixed xp visualizer calculating experience rewards for hidden quests. diff --git a/Experiencer.toc b/Experiencer.toc index ecd219c..bdc5a53 100644 --- a/Experiencer.toc +++ b/Experiencer.toc @@ -1,8 +1,8 @@ -## Interface: 80000 +## Interface: 80200 ## Title: Experiencer ## Notes: Simple but advanced tracking progress bar addon ## Author: Sonaza -## Version: 3.0.5 +## Version: 3.0.6 ## OptionalDeps: Ace3 ## SavedVariables: ExperiencerDB, ExperiencerDB_module_experience, ExperiencerDB_module_reputation, ExperiencerDB_module_artifact, ExperiencerDB_module_honor, ExperiencerDB_module_conquest diff --git a/modules/artifact.lua b/modules/artifact.lua index f2e1b0d..fd13fd5 100644 --- a/modules/artifact.lua +++ b/modules/artifact.lua @@ -55,7 +55,12 @@ function module:GetArtifactName() if (not azeriteItemLocation) then return "Azerite Artifact"; end - local itemID = GetInventoryItemID("player", azeriteItemLocation.equipmentSlotIndex); + + -- idk if the azeriteItemLocation.equipmentSlotIndex has changed or whatever + --local itemID = GetInventoryItemID("player", azeriteItemLocation.equipmentSlotIndex); + local itemID = GetInventoryItemID("player", 2); -- can probably hardcode the neck with its slot id + if (itemID == nil) then return "Unknown" end + local name = GetItemInfo(itemID); if (not name) then self:RegisterEvent("GET_ITEM_INFO_RECEIVED");