This commit is contained in:
shoopea 2019-06-25 19:24:10 +08:00
parent 3fc8c68631
commit 9b5d1a124a

2
obj.go
View File

@ -643,7 +643,7 @@ func silentGetObjItemID(code string, name string) int64 {
}
if v, ok := cacheObjItem.Load(name); ok {
item := v.(ChatWarsItem)
log.Printf("Matching item name %s with %s.\n", name, item.Name)
//log.Printf("Matching item name %s with %s.\n", name, item.Name)
return item.ObjID64
}
if ok, _ := regexp.MatchString(`^((u|e)[0-9]+|(a|w)[0-9]+[a-e]{0,1})$`, code); ok || len(code) == 0 {