changeset 71:6abc0858b45e v28

fixed minor bug with pulling bank items into your bags
author yellowfive
date Sat, 18 Jul 2015 01:04:44 -0700
parents 8af362b95d2f
children 55598ba0d435
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	Mon Jul 06 17:40:09 2015 -0700
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Sat Jul 18 01:04:44 2015 -0700
@@ -1,7 +1,7 @@
 -- AskMrRobot-Serializer will serialize and communicate character data between users.
 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com.
 
-local MAJOR, MINOR = "AskMrRobot-Serializer", 27
+local MAJOR, MINOR = "AskMrRobot-Serializer", 28
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Mon Jul 06 17:40:09 2015 -0700
+++ b/AskMrRobot.toc	Sat Jul 18 01:04:44 2015 -0700
@@ -1,7 +1,7 @@
 ## Interface: 60200
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 27
+## Version: 28
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb2
--- a/Gear.lua	Mon Jul 06 17:40:09 2015 -0700
+++ b/Gear.lua	Sat Jul 18 01:04:44 2015 -0700
@@ -546,7 +546,7 @@
 		_pendingEquip = nil
 		return
 		
-	elseif bestItem and bestItem.bag and bestItem.bag >= NUM_BAG_SLOTS + 1 and bestItem.bag <= NUM_BAG_SLOTS + NUM_BANKBAGSLOTS then
+	elseif bestItem and bestItem.bag and (bestItem.bag == BANK_CONTAINER or bestItem.bag >= NUM_BAG_SLOTS + 1 and bestItem.bag <= NUM_BAG_SLOTS + NUM_BANKBAGSLOTS) then
 		-- find first empty bag slot
 		local invBag, invSlot = findFirstEmptyBagSlot()
 		if not invBag then