Fixed socket bonus detection, updated to 1.2b4
Kevin Lyles [05-17-10 - 18:55]
Fixed socket bonus detection, updated to 1.2b4
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