Quantcast

Merge branch 'release/2.0.0'

Kevin Gilbert [08-30-16 - 15:35]
Merge branch 'release/2.0.0'
Filename
ArtifactMenu.lua
ArtifactMenu.toc
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
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