From 12694416a9248403b41fa93a57966e9f2604833c Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 25 Jun 2019 18:45:51 +0800 Subject: [PATCH] test --- obj.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/obj.go b/obj.go index 655d6e0..30c7957 100644 --- a/obj.go +++ b/obj.go @@ -615,12 +615,14 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int) (int64 func getObjItemID(c string, n string) int64 { i := silentGetObjItemID(c, n) if i == 0 { - w := TGCommand{ - Type: commandSendMsg, - Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n), - ToUserID64: cfg.Bot.Admin, - } - TGCmdQueue <- w + /* + w := TGCommand{ + Type: commandSendMsg, + Text: fmt.Sprintf("Object unknown : %s - %s\n", c, n), + ToUserID64: cfg.Bot.Admin, + } + TGCmdQueue <- w + */ } return i }