From 1e67e047e6bfb0f719d9c44313fc644a62398d2d Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 13 Dec 2019 19:31:30 +0800 Subject: [PATCH] update item weight --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj.go b/obj.go index 3094579..5b33651 100644 --- a/obj.go +++ b/obj.go @@ -591,7 +591,7 @@ func addObjQuest(userID64 int64, questTypeID int, duration time.Duration, date t 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() defer muxObjItem.Unlock()