This commit is contained in:
shoopea 2021-01-21 16:36:44 +01:00
parent 087542a64e
commit 9b0402d210

2
bot.go
View File

@ -863,7 +863,7 @@ func botBrewItem(m *ChatWarsMessage, r *regexp.Regexp) {
Status: 0,
}
p.ObjItemID64 = getObjItemID(r.ReplaceAllString(m.Text, "${Code}"))
p.ObjItemID64 = getObjItemID(r.ReplaceAllString(m.Text, "${Code}"), "")
fmt.Printf("Code[%s] : %d\n", r.ReplaceAllString(m.Text, "${Code}"), p.ObjItemID64)