This commit is contained in:
shoopea 2020-01-27 14:06:48 +08:00
parent 493f84e178
commit 562e721998

7
job.go
View File

@ -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
} }