From 3c7290e90dee1d6fa920df5141bfb672b7cd0fdc Mon Sep 17 00:00:00 2001 From: Kevin Gilbert Date: Tue, 30 Aug 2016 08:32:56 -0700 Subject: [PATCH 1/2] get item ID off of player's paper doll --- ArtifactMenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArtifactMenu.lua b/ArtifactMenu.lua index 2bc8fa3..a44fbff 100644 --- a/ArtifactMenu.lua +++ b/ArtifactMenu.lua @@ -97,7 +97,7 @@ function openArtifactMenu() QUALITY.LEGENDARY = 5; QUALITY.ARTIFACT = 6; QUALITY.HEIRLOOM = 7; - local equippedWeapon = GetInventorySlotInfo("MainHandSlot"); + local equippedWeapon = GetInventoryItemID("player", GetInventorySlotInfo("MainHandSlot")); if equippedWeapon == nil then print("You do not have any weapons equipped."); return -- 1.7.9.5 From 915eb882b442395735e2e0e7164e20891a138442 Mon Sep 17 00:00:00 2001 From: Kevin Gilbert Date: Tue, 30 Aug 2016 08:34:53 -0700 Subject: [PATCH 2/2] bump major version for incompatible API update --- ArtifactMenu.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArtifactMenu.toc b/ArtifactMenu.toc index c344059..e0f0236 100644 --- a/ArtifactMenu.toc +++ b/ArtifactMenu.toc @@ -1,7 +1,7 @@ ## Interface: 70000 ## Title: ArtifactMenu ## Author: Kevin Gilbert (kaygil) -## Version: 1.1.0 +## Version: 2.0.0 libs/LibStub.lua libs/CallbackHandler-1.0.lua -- 1.7.9.5