changeset 151:bdf1b0c98882 v71

bug fix to gear display
author yellowfive
date Thu, 03 Jan 2019 13:34:56 -0800
parents 85ee6e672650
children f33e5aaaee9e
files AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc Gear.lua
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Wed Jan 02 18:30:07 2019 -0800
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Thu Jan 03 13:34:56 2019 -0800
@@ -1,6 +1,6 @@
 -- AskMrRobot-Serializer will serialize and communicate character data between users.
 
-local MAJOR, MINOR = "AskMrRobot-Serializer", 70
+local MAJOR, MINOR = "AskMrRobot-Serializer", 71
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Wed Jan 02 18:30:07 2019 -0800
+++ b/AskMrRobot.toc	Thu Jan 03 13:34:56 2019 -0800
@@ -1,7 +1,7 @@
 ## Interface: 80100
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 70
+## Version: 71
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb4
--- a/Gear.lua	Wed Jan 02 18:30:07 2019 -0800
+++ b/Gear.lua	Thu Jan 03 13:34:56 2019 -0800
@@ -134,7 +134,7 @@
 	if not item then return nil end
 
 	local equipped = player.Equipped and player.Equipped[player.ActiveSpec] or nil
-	local bestItem, bestDiff, bestLoc = findMatchingItemFromTable(item, equipped, nil, 10000, nil, usedItems, "equip")
+	local bestItem, bestDiff, bestLoc = findMatchingItemFromTable(item, equipped, nil, 100000, nil, usedItems, "equip")
 	bestItem, bestDiff, bestLoc = findMatchingItemFromTable(item, player.BagItems, bestItem, bestDiff, bestLoc, usedItems, "bag")
 	if player.BankItems then
 		bestItem, bestDiff, bestLoc = findMatchingItemFromTable(item, player.BankItems, bestItem, bestDiff, bestLoc, usedItems, "bank")