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