update
This commit is contained in:
parent
493f84e178
commit
562e721998
7
job.go
7
job.go
@ -1842,7 +1842,12 @@ func jobCraftItem(j Job) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if obj.Craftable {
|
if obj.Craftable {
|
||||||
log.Printf("Item missing recipe : %s\n", code)
|
w := TGCommand{
|
||||||
|
Type: commandSendMsg,
|
||||||
|
Text: fmt.Sprintf("Item missing recipe : %s\n", code),
|
||||||
|
ToUserID64: cfg.Bot.Admin,
|
||||||
|
}
|
||||||
|
TGCmdQueue <- w
|
||||||
}
|
}
|
||||||
missingItems[code] = req - ava
|
missingItems[code] = req - ava
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user