From 0503a41f2aa24d21a80413c6664fd23ed566c9ba Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 14 Aug 2008 15:19:05 +0000 Subject: [PATCH] Actually pass the link to the weight function --- DressToKill.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DressToKill.lua b/DressToKill.lua index d73c53f..3219f61 100644 --- a/DressToKill.lua +++ b/DressToKill.lua @@ -129,7 +129,7 @@ local function scanFunction(weightFunction) if not blacklist[mask] then local equipped = DressToKill:EquipItem(slotId, mask, stash) if equipped then - local link = GetInventoryItemLink(slotId) + local link = GetInventoryItemLink("player", slotId) local score = weightFunction(link) if score >= maxScore then maxScore = score -- 1.7.9.5