mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-21 20:20:05 +08:00
🐛 修复道具仓库
This commit is contained in:
@@ -386,7 +386,7 @@ class ShopManage:
|
|||||||
uuid2goods = {item.uuid: item for item in result}
|
uuid2goods = {item.uuid: item for item in result}
|
||||||
column_name = ["-", "使用ID", "名称", "数量", "简介"]
|
column_name = ["-", "使用ID", "名称", "数量", "简介"]
|
||||||
for i, p in enumerate(user.props):
|
for i, p in enumerate(user.props):
|
||||||
prop = uuid2goods[p]
|
if prop := uuid2goods.get(p):
|
||||||
data_list.append(
|
data_list.append(
|
||||||
[
|
[
|
||||||
(ICON_PATH / prop.icon, 33, 33) if prop.icon else "",
|
(ICON_PATH / prop.icon, 33, 33) if prop.icon else "",
|
||||||
|
|||||||
Reference in New Issue
Block a user