This commit is contained in:
shoopea 2019-12-13 19:32:24 +08:00
parent 3f735ec03c
commit 5fe9a88ea3

2
job.go
View File

@ -783,7 +783,7 @@ func jobGStock(j Job) {
logOnError(err, "jobGStock : createJobCallback")
clientSendCWMsg(cfg.Bot.Admin, "/g_stock_other")
case 6: // collate everything and reply
for k, v := range p.Stock {
for _, v := range p.Stock {
item, err := getObjItem(v.ItemID64)
logOnError(err, "jobGStock : getObjItem")
if err == nil {