From ba36c16135276af7e08e4a76723c5e05b13288c2 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 14 Jun 2019 12:33:27 +0800 Subject: [PATCH] test --- obj.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obj.go b/obj.go index eb77739..ab1f695 100644 --- a/obj.go +++ b/obj.go @@ -625,8 +625,10 @@ func silentGetObjItemID(code string, name string) int64 { s := strings.ToUpper(regexp.QuoteMeta(i.Name)) m := fmt.Sprintf("^(%s.*|.*%s)$ ", s, s) if ok, _ := regexp.MatchString(m, n2); ok { + log.Printf("Found a match for %s : %s\n", name, i.Name) return false } else { + log.Printf("Match still not found %s : %s\n", name, i.Name) i = ChatWarsItem{ ObjID64: 0, }