This commit is contained in:
shoopea 2021-01-21 16:59:55 +01:00
parent bb5655ab17
commit 90f8a7c3fc

5
job.go
View File

@ -2257,10 +2257,11 @@ func jobBrewItem(j Job) {
break
}
}
ox, _ := getObjItem(req.ItemID64)
if req.Quantity*maxManaItems > itemsInStock {
missing = fmt.Sprintf("%s %3s - %s [%d]\n", missing, req.Code, req.Name, req.Quantity*maxManaItems-itemsInStock)
missing = fmt.Sprintf("%s %3s - %s [%d]\n", missing, req.Code, ox.Name[0], req.Quantity*maxManaItems-itemsInStock)
}
require = fmt.Sprintf("%s %3s - %s [%d]\n", require, req.Code, req.Name, req.Quantity*maxManaItems)
require = fmt.Sprintf("%s %3s - %s [%d]\n", require, req.Code, ox.Name[0], req.Quantity*maxManaItems)
}
out = fmt.Sprintf("ETA : %s\n", eta)