test
This commit is contained in:
parent
cec19fdfbe
commit
d01ebb2393
3
items.go
3
items.go
@ -8,7 +8,8 @@ func reloadObjItem(code string, name string, itemTypeID64 int64, weight int) {
|
||||
var objID64 int64
|
||||
objID64 = silentGetObjItemID(code, ``)
|
||||
if objID64 == 0 {
|
||||
objID64, err = addObjItem(code, name, itemTypeID64, weight)
|
||||
id, err = addObjItem(code, name, itemTypeID64, weight)
|
||||
objID64 = id
|
||||
logOnError(err, "reloadObjItem : addObjItem")
|
||||
}
|
||||
if silentGetObjItemID(``, name) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user