diff Gear.lua @ 59:ee701ce45354 v22

Couple minor bug fixes, added french localization.
author yellowfive
date Sun, 07 Jun 2015 14:28:59 -0700
parents 01b63b8ed811
children cf2b6b9a8337
line wrap: on
line diff
--- a/Gear.lua	Fri Jun 05 11:34:53 2015 -0700
+++ b/Gear.lua	Sun Jun 07 14:28:59 2015 -0700
@@ -557,7 +557,7 @@
 		-- now we need to wait for game event to continue and try this item again after it is in our bag
 		return
 	else
-		if not Amr:IsSoulbound(bestItem.bag, bestItem.slot) then
+		if not Amr:CanEquip(bestItem.bag, bestItem.slot) then
 			-- if an item is not soulbound, then warn the user and quit
 			Amr:Print(L.GearEquipErrorSoulbound(bestLink))
 			_pendingEquip = nil