fix
This commit is contained in:
parent
c66f4ba79a
commit
f90280ca25
2
job.go
2
job.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user