This commit is contained in:
shoopea 2019-07-08 18:34:07 +08:00
parent 12f793b59e
commit ddae708ac1

2
obj.go
View File

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