test
This commit is contained in:
parent
9e524a5286
commit
931f623e8b
2
obj.go
2
obj.go
@ -641,7 +641,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user