comparison 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
comparison
equal deleted inserted replaced
58:3e395402ac52 59:ee701ce45354
555 ClearCursor() 555 ClearCursor()
556 556
557 -- now we need to wait for game event to continue and try this item again after it is in our bag 557 -- now we need to wait for game event to continue and try this item again after it is in our bag
558 return 558 return
559 else 559 else
560 if not Amr:IsSoulbound(bestItem.bag, bestItem.slot) then 560 if not Amr:CanEquip(bestItem.bag, bestItem.slot) then
561 -- if an item is not soulbound, then warn the user and quit 561 -- if an item is not soulbound, then warn the user and quit
562 Amr:Print(L.GearEquipErrorSoulbound(bestLink)) 562 Amr:Print(L.GearEquipErrorSoulbound(bestLink))
563 _pendingEquip = nil 563 _pendingEquip = nil
564 return 564 return
565 else 565 else