# HG changeset patch # User yellowfive # Date 1546551296 28800 # Node ID bdf1b0c98882c99209bafa69defc96c174ee8846 # Parent 85ee6e672650c1af0bb79cbd61d0c7f1851eee54 bug fix to gear display diff -r 85ee6e672650 -r bdf1b0c98882 AskMrRobot-Serializer/AskMrRobot-Serializer.lua --- 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 diff -r 85ee6e672650 -r bdf1b0c98882 AskMrRobot.toc --- 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 diff -r 85ee6e672650 -r bdf1b0c98882 Gear.lua --- 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")