This commit is contained in:
shoopea 2021-01-21 16:56:35 +01:00
parent f90280ca25
commit bb5655ab17

4
job.go
View File

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