From ad89ba560539ab9b75d37a7fe611f9c3f84983ae Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 27 Jan 2020 12:10:45 +0800 Subject: [PATCH] fix --- item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/item.go b/item.go index f6db435..80fdb1c 100644 --- a/item.go +++ b/item.go @@ -242,7 +242,7 @@ func addObjItemCraftItem(objID64 int64, itemID64 int64, quantity int64) error { return nil } -func getCraftItemID(cmd string) int64, error) { +func getCraftItemID(cmd string) (int64, error) { muxObjItem.RLock() defer muxObjItem.RUnlock()