test
This commit is contained in:
parent
74c72e90d4
commit
ae41a8e84f
6
obj.go
6
obj.go
@ -763,8 +763,10 @@ func addObjItem(code string, name string, itemTypeID64 int64, weight int64, exch
|
||||
return 0, nil
|
||||
} else {
|
||||
obj.Names = append(obj.Names, name)
|
||||
cacheObjItem[name] = obj
|
||||
cacheObjItem[code] = obj
|
||||
for _, r := range obj.Names {
|
||||
cacheObjItem[n] = obj
|
||||
}
|
||||
return obj.ObjID64, nil
|
||||
}
|
||||
|
||||
@ -1056,8 +1058,6 @@ func loadObjItem() error {
|
||||
}
|
||||
}
|
||||
|
||||
resetObjItem()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user