update item weight

This commit is contained in:
shoopea 2019-12-13 19:31:30 +08:00
parent f9522c12f3
commit 1e67e047e6

2
obj.go
View File

@ -591,7 +591,7 @@ func addObjQuest(userID64 int64, questTypeID int, duration time.Duration, date t
return objId, nil return objId, nil
} }
func addObjItem(code string, name string, itemTypeID64 int64, weight int, exchange bool, auction bool) (int64, error) { func addObjItem(code string, name string, itemTypeID64 int64, weight int64, exchange bool, auction bool) (int64, error) {
muxObjItem.Lock() muxObjItem.Lock()
defer muxObjItem.Unlock() defer muxObjItem.Unlock()