Mercurial > wow > askmrrobot
changeset 141:cc82eeeec1c8 v66
Fixed bug with multiple set import.
author | yellowfive |
---|---|
date | Tue, 06 Nov 2018 15:39:13 -0800 |
parents | f40295e81fe0 |
children | f605ad8fc427 |
files | AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc Import.lua |
diffstat | 3 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Mon Nov 05 16:06:14 2018 -0800 +++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua Tue Nov 06 15:39:13 2018 -0800 @@ -1,6 +1,6 @@ -- AskMrRobot-Serializer will serialize and communicate character data between users. -local MAJOR, MINOR = "AskMrRobot-Serializer", 65 +local MAJOR, MINOR = "AskMrRobot-Serializer", 66 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc Mon Nov 05 16:06:14 2018 -0800 +++ b/AskMrRobot.toc Tue Nov 06 15:39:13 2018 -0800 @@ -1,7 +1,7 @@ ## Interface: 80000 ## Title: Ask Mr. Robot ## Author: Team Robot, Inc. -## Version: 65 +## Version: 66 ## Notes: Gear import/export, combat logging, and more. ## URL: www.askmrrobot.com ## SavedVariables: AskMrRobotDb4
--- a/Import.lua Mon Nov 05 16:06:14 2018 -0800 +++ b/Import.lua Tue Nov 06 15:39:13 2018 -0800 @@ -143,11 +143,13 @@ end end - for i = 1, #specParts do - local err = self:ImportCharacter(specParts[i], isTest, true) - if err ~= nil then - return err - end + for i = 1, #specParts do + if specParts[i] ~= "_bib_" then + local err = self:ImportCharacter(specParts[i], isTest, true) + if err ~= nil then + return err + end + end end -- ensure that all BiB setups are sorted to the top