fix
This commit is contained in:
parent
b495fbef24
commit
ffa06fa67e
4
bot.go
4
bot.go
@ -827,7 +827,7 @@ func botGDepositAll(m *tb.Message) {
|
||||
}
|
||||
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`01`, `Thread`))
|
||||
if m.Sender != 480149577 {
|
||||
if m.Sender.ID != 480149577 {
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`02`, `Stick`))
|
||||
}
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`03`, `Pelt`))
|
||||
@ -845,7 +845,7 @@ func botGDepositAll(m *tb.Message) {
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`19`, `Steel`))
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`21`, `Bone Powder`))
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`22`, `String`))
|
||||
if m.Sender != 480149577 {
|
||||
if m.Sender.ID != 480149577 {
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`23`, `Coke`))
|
||||
}
|
||||
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`24`, `Purified Powder`))
|
||||
|
Loading…
Reference in New Issue
Block a user