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