This commit is contained in:
shoopea 2021-01-21 16:54:07 +01:00
parent c66f4ba79a
commit f90280ca25

2
job.go
View File

@ -2250,7 +2250,7 @@ func jobBrewItem(j Job) {
require := "" require := ""
missing := "" missing := ""
for _, req := range o.Craft.Items { for _, req := range o.Craft.Items {
itemsInStock := 0 itemsInStock := int64(0)
for _, stock := range cwm.Stock { for _, stock := range cwm.Stock {
if req.ItemID64 == stock.ItemID64 { if req.ItemID64 == stock.ItemID64 {
itemsInStock = stock.Quantity itemsInStock = stock.Quantity