Quantcast

use inner API call only, should not have xmog issue

Kevin Gilbert [08-29-16 - 18:30]
use inner API call only, should not have xmog issue
Filename
ArtifactMenu.lua
diff --git a/ArtifactMenu.lua b/ArtifactMenu.lua
index b418bb5..1c18b83 100644
--- a/ArtifactMenu.lua
+++ b/ArtifactMenu.lua
@@ -21,7 +21,7 @@ function SlashCmdList.ARTIFACTMENU(msg, editBox)
     QUALITY.LEGENDARY = 5;
     QUALITY.ARTIFACT = 6;
     QUALITY.HEIRLOOM = 7;
-    local equippedWeapon = GetInventoryItemID("player", GetInventorySlotInfo("MainHandSlot"));
+    local equippedWeapon = GetInventorySlotInfo("MainHandSlot");
     if equippedWeapon == nil then
         print("You do not have any weapons equipped.");
         return