From b31c98f4271594ba62e0dc2a91c6abc618d5d43d Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 2 Jun 2019 18:48:20 +0800 Subject: [PATCH] test --- obj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj.go b/obj.go index 420cd94..8df8a4b 100644 --- a/obj.go +++ b/obj.go @@ -492,7 +492,7 @@ func addObjItem(name string, code string, itemTypeID64 int64, weight int) (int64 func getObjItemID(s string) int64 { if v, ok := cacheObjItem.Load(s); ok { - i := v.(ChatWarsUser) + i := v.(ChatWarsItem) return i.ObjID64 } else { s := fmt.Sprintf("Object unknown : %s\n", s)