This commit is contained in:
shoopea 2020-08-08 12:12:21 +02:00
parent b225d83156
commit d847323993

2
job.go
View File

@ -2765,7 +2765,7 @@ func jobVaultValOth(j Job) {
sort.Slice(p.Val, func(i, j int) bool { return p.Val[i].Volume < p.Val[j].Volume }) sort.Slice(p.Val, func(i, j int) bool { return p.Val[i].Volume < p.Val[j].Volume })
out := fmt.Sprintf("Value (other) :\n") out := fmt.Sprintf("Value (other) :\n")
total := 0 total := float64(0)
for _, v := range p.Val { for _, v := range p.Val {
item, _ := getObjItem(v.ItemID64) item, _ := getObjItem(v.ItemID64)
log.Printf("jobVaultValOth : %s (%s) - %s => %d - %f\n", item.Code, v.Quality, item.Names[0], v.Volume, v.Price) log.Printf("jobVaultValOth : %s (%s) - %s => %d - %f\n", item.Code, v.Quality, item.Names[0], v.Volume, v.Price)