From 7f0b9945b9816537b95ee3ea0faef7e7c06d93a4 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Mon, 17 May 2010 13:55:52 -0500 Subject: [PATCH] Fixed socket bonus detection, updated to 1.2b4 --- WeightsWatcher.lua | 2 +- WeightsWatcher.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 575dd1b..7e09a02 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -50,7 +50,7 @@ ww_itemCacheMetatable = { if #(sockets) > 0 then socketBonusActive = true for i = 1, #(sockets) do - if not gemStats[i] or not WeightsWatcher.matchesSocket(gemStats[i][1], sockets[i]) then + if not gemStats[i] or not WeightsWatcher.matchesSocket(gemStats[i][1][1], sockets[i]) then socketBonusActive = false break end diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc index 806474b..63fa878 100644 --- a/WeightsWatcher.toc +++ b/WeightsWatcher.toc @@ -2,7 +2,7 @@ ## Title: Weights Watcher ## Notes: Ranks gear according to customizable stat weights ## Author: The Flying Squirrels -## Version: 1.2b3 +## Version: 1.2b4 ## OptionalDeps: AtlasLoot ## SavedVariables: ww_vars ## SavedVariablesPerCharacter: ww_charVars -- 1.7.9.5