Mercurial > wow > inventory
diff Modules/Scanner.lua @ 98:252292b703ce
All print(...) function calls are now handled by addon:Print(text, color).
The cursor will be cleared of any items/spells before moving as well as when aborting.
author | Zerotorescue |
---|---|
date | Sun, 09 Jan 2011 17:49:33 +0100 |
parents | 31493364b163 |
children | 6ae44d372360 |
line wrap: on
line diff
--- a/Modules/Scanner.lua Sun Jan 09 01:34:05 2011 +0100 +++ b/Modules/Scanner.lua Sun Jan 09 17:49:33 2011 +0100 @@ -138,11 +138,11 @@ local availableItems = ((itemCache[itemId] and itemCache[itemId].totalCount) or 0); if availableItems > 0 then - print("Insufficient " .. select(2, GetItemInfo(itemId)) .. " but this location has " .. availableItems .. " (moving " .. missingItems .. ")"); + addon:Print("Insufficient " .. select(2, GetItemInfo(itemId)) .. " but this location has " .. availableItems .. " (moving " .. missingItems .. ")"); Mover:AddMove(itemId, missingItems); else - print("Insufficient " .. IdToItemLink(itemId)); + addon:Print("Insufficient " .. IdToItemLink(itemId)); end end end