This commit is contained in:
shoopea 2021-01-21 16:34:30 +01:00
parent 075c7d801f
commit 4e179df994

View File

@ -86,7 +86,7 @@ func getObjItem(objID64 int64) (*ChatWarsItem, error) {
muxObjItem.RLock()
defer muxObjItem.RUnlock()
if id, ok := cacheObjItemId[objID64]; ok {
//log.Printf("Matching item name %s with %s.\n", name, obj.Name)
log.Printf("Matching item name %s with %s.\n", name, obj.Name)
return &objItems[id], nil
} else {
return nil, errors.New("Item not found.")