test
This commit is contained in:
parent
e6773bf850
commit
12694416a9
2
obj.go
2
obj.go
@ -615,12 +615,14 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64
|
|||||||
func getObjItemID(c string, n string) int64 {
|
func getObjItemID(c string, n string) int64 {
|
||||||
i := silentGetObjItemID(c, n)
|
i := silentGetObjItemID(c, n)
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
|
/*
|
||||||
w := TGCommand{
|
w := TGCommand{
|
||||||
Type: commandSendMsg,
|
Type: commandSendMsg,
|
||||||
Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n),
|
Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n),
|
||||||
ToUserID64: cfg.Bot.Admin,
|
ToUserID64: cfg.Bot.Admin,
|
||||||
}
|
}
|
||||||
TGCmdQueue <- w
|
TGCmdQueue <- w
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user