From d68a7ed16e4f4507d8ad4bde0bfc97d0f9f8d385 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 22 十二月 2023 14:19:41 +0800
Subject: [PATCH] 5512 【主干】【港台】【砍树】邮件领取的物品信息多了空格

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
index 10bd97f..cd8921a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCompensationTube.py
@@ -158,9 +158,7 @@
         userDataCreateTime = 0
         if curPackItem.UserDataLen: 
             UserDataDict = eval(curPackItem.UserData)
-            #设置UserData
-            UserData = "%s"%UserDataDict
-            curCreateItem.SetUserData(UserData, len(UserData))
+            ItemCommon.SetItemUserData(curCreateItem, UserDataDict)
             userDataCreateTime = curCreateItem.GetUserAttr(ShareDefine.Def_IudetAuctionItemCreateTime)
             
         if isAuctionItem and auctionItemCreateTime and not userDataCreateTime:

--
Gitblit v1.8.0