fixes for alch stuff

This commit is contained in:
shoopea 2020-02-29 16:47:15 +08:00
parent d3ce990651
commit d06e8fbd53

4
bot.go
View File

@ -941,12 +941,12 @@ func botAlchAll(m *ChatWarsMessage) {
ChatID64: m.ChatID64,
Status: 0,
Mana: 0,
MaxMana: 0,
ManaMax: 0,
}
b, _ := json.Marshal(p)
t := time.Now().UTC().Add(1 * time.Second)
_, err := createJob(cacheObjSubType[`job_alch_all`], objJobPriority, j.userID64, 0, t, b)
_, err := createJob(cacheObjSubType[`job_alch_all`], objJobPriority, m.TGSenderUserID64, 0, t, b)
if err != nil {
c := TGCommand{