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, }