Skip to content

Commit dd7c46e

Browse files
committed
hotfix 2
1 parent 45375db commit dd7c46e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CraftSim.toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Title: CraftSim
55
## Notes: Calculates the average profit based on your profession stats and other tools for the war within gold making
66
## Author: genju
7-
## Version: 19.1.0.1
7+
## Version: 19.1.0.2
88
## X-Curse-Project-ID: 705015
99
## X-Wago-ID: 0mNwaPKo
1010
## X-WoWI-ID: 26519

Modules/CraftQueue/CraftQueue.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -589,13 +589,14 @@ function CraftSim.CRAFTQ.CreateAuctionatorShoppingList()
589589
local isOrderReagent = optionalReagent:IsOrderReagentIn(craftQueueItem.recipeData)
590590
local qualityID = C_TradeSkillUI.GetItemReagentQualityByItemInfo(itemID)
591591
if not isOrderReagent and not isSelfCrafted and not GUTIL:isItemSoulbound(itemID) then
592+
local allocatedQuantity = quantityMap[itemID] or 1
592593
reagentMap[itemID] = reagentMap[itemID] or {
593594
itemName = optionalReagent.item:GetItemName(),
594595
qualityID = qualityID,
595-
quantity = quantityMap[itemID] or 1
596+
quantity = allocatedQuantity
596597
}
597598
reagentMap[itemID].quantity = reagentMap[itemID]
598-
.quantity * craftQueueItem.amount
599+
.quantity + allocatedQuantity * craftQueueItem.amount
599600
end
600601
end
601602
end

0 commit comments

Comments
 (0)