This commit is contained in:
shoopea 2020-08-08 12:08:51 +02:00
parent 71358a575c
commit b3781de707

6
job.go
View File

@ -2753,7 +2753,7 @@ func jobVaultValOth(j Job) {
for _, v := range p2.Vault {
price, volume := getObjItemVal(v.ItemID64, v.Quality, 14)
t := &JobPayloadVaultValTab{
t := JobPayloadVaultValTab{
ItemID64: v.ItemID64,
Quality: v.Quality,
Quantity: v.Quantity,
@ -2768,8 +2768,8 @@ func jobVaultValOth(j Job) {
total := 0
for _, v := range p.Val {
item, _ := getObjItem(v.ItemID64)
log.Printf("jobVaultValOth : %s (%s) - %s => %d - %f\n", v.Code, v.Quality, item.Names[0], v.Volume, v.Price)
out := fmt.Sprintf("- %s (%s) : %d / %f\n", v.Code, v.Quality, v.Volume, v.Price)
log.Printf("jobVaultValOth : %s (%s) - %s => %d - %f\n", item.Code, v.Quality, item.Names[0], v.Volume, v.Price)
out := fmt.Sprintf("- %s (%s) : %d / %f\n", item.Code, v.Quality, v.Volume, v.Price)
}
c := TGCommand{