Skip to content

Commit

Permalink
hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
derfloh205 committed Oct 25, 2024
1 parent 45375db commit dd7c46e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CraftSim.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Title: CraftSim
## Notes: Calculates the average profit based on your profession stats and other tools for the war within gold making
## Author: genju
## Version: 19.1.0.1
## Version: 19.1.0.2
## X-Curse-Project-ID: 705015
## X-Wago-ID: 0mNwaPKo
## X-WoWI-ID: 26519
Expand Down
5 changes: 3 additions & 2 deletions Modules/CraftQueue/CraftQueue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,14 @@ function CraftSim.CRAFTQ.CreateAuctionatorShoppingList()
local isOrderReagent = optionalReagent:IsOrderReagentIn(craftQueueItem.recipeData)
local qualityID = C_TradeSkillUI.GetItemReagentQualityByItemInfo(itemID)
if not isOrderReagent and not isSelfCrafted and not GUTIL:isItemSoulbound(itemID) then
local allocatedQuantity = quantityMap[itemID] or 1
reagentMap[itemID] = reagentMap[itemID] or {
itemName = optionalReagent.item:GetItemName(),
qualityID = qualityID,
quantity = quantityMap[itemID] or 1
quantity = allocatedQuantity
}
reagentMap[itemID].quantity = reagentMap[itemID]
.quantity * craftQueueItem.amount
.quantity + allocatedQuantity * craftQueueItem.amount
end
end
end
Expand Down

0 comments on commit dd7c46e

Please sign in to comment.