This commit is contained in:
shoopea 2020-05-31 10:52:08 +02:00
parent 502da6c273
commit 210b60fe68

4
job.go
View File

@ -2404,7 +2404,7 @@ func jobCheckVaultLimit(j Job) {
jobID64, err := createJob(cacheObjSubType[`job_get_vault`], objJobPriority, j.UserID64, 0, time.Now().UTC(), b) jobID64, err := createJob(cacheObjSubType[`job_get_vault`], objJobPriority, j.UserID64, 0, time.Now().UTC(), b)
p.Status = 1 p.Status = 1
p.VaulPreJobID64 = jobID64 p.VaultPreJobID64 = jobID64
b, err = json.Marshal(p) b, err = json.Marshal(p)
logOnError(err, "jobCheckVaultLimit : Marshal(p)") logOnError(err, "jobCheckVaultLimit : Marshal(p)")
@ -2509,7 +2509,7 @@ func jobCheckVaultLimit(j Job) {
} }
if itemEmpty { if itemEmpty {
empty = false empty = false
obj, _ := getObjItem(iPre.ItemID64) obj, _ := getObjItem(iPost.ItemID64)
out = fmt.Sprintf("%s- [%s] won %d\n", out, obj.Names[0], iPost.Quantity) out = fmt.Sprintf("%s- [%s] won %d\n", out, obj.Names[0], iPost.Quantity)
} }
} }