test
This commit is contained in:
parent
82ee3a9719
commit
715ff56c95
2
items.go
2
items.go
@ -1,7 +1,7 @@
|
||||
package main
|
||||
|
||||
func reloadObjItem(code string, name string, itemTypeID64 int64, weight int) {
|
||||
id := getObjItemID(code, name, itemTypeID, weight)
|
||||
id := getObjItemID(code, name, itemTypeID64, weight)
|
||||
if id == 0 {
|
||||
_, err := addObjItem(code, name, itemTypeID64, weight)
|
||||
logOnError(err, "reloadObjItem : addObjItem")
|
||||
|
Loading…
Reference in New Issue
Block a user