Mercurial > wow > inventory
comparison Modules/Queue.lua @ 153:da28be6ccd31
The queue module should no longer add 0s to the queue.
author | Zerotorescue |
---|---|
date | Fri, 21 Jan 2011 06:57:57 +0100 |
parents | 4e5d8033ed5f |
children | ba5ddc4448dd |
comparison
equal
deleted
inserted
replaced
152:311eb97cb983 | 153:da28be6ccd31 |
---|---|
478 | 478 |
479 -- Update amount | 479 -- Update amount |
480 amount = (amount + bonus); | 480 amount = (amount + bonus); |
481 end | 481 end |
482 | 482 |
483 if amount >= minCraftingQueue then | 483 if amount > 0 and amount > minCraftingQueue then |
484 -- If we are queuing at least one AND more than the minimum amount, then proceed | 484 -- If we are queuing at least one AND more than the minimum amount, then proceed |
485 | 485 |
486 -- Get auction value when it is relevant | 486 -- Get auction value when it is relevant |
487 local value = (priceThreshold ~= 0 and addon:GetAuctionValue(IdToItemLink(itemId), groupName)); | 487 local value = (priceThreshold ~= 0 and addon:GetAuctionValue(IdToItemLink(itemId), groupName)); |
488 | 488 |