This commit is contained in:
shoopea 2021-01-21 17:00:51 +01:00
parent 90f8a7c3fc
commit f88f2ad319

4
job.go
View File

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