🐛 Fix AttributeError in stats allow_mutation

This commit is contained in:
xtaodada 2024-12-08 23:38:52 +08:00
parent 936456335b
commit c9b58c5acc
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 0 additions and 2 deletions

View File

@ -101,7 +101,6 @@ class AchievementPlugins(Plugin):
# TODO: 并发下载所有资源 # TODO: 并发下载所有资源
for item in data.list: for item in data.list:
item.__config__.allow_mutation = True
if icon := await self._download_resource(item.icon): if icon := await self._download_resource(item.icon):
item.icon = icon item.icon = icon

View File

@ -123,7 +123,6 @@ class PlayerStatsPlugins(Plugin):
# 探索地区 # 探索地区
for item in data.explorations: for item in data.explorations:
item.__config__.allow_mutation = True
item.icon = await self._download_resource(item.icon) item.icon = await self._download_resource(item.icon)
item.cover = await self._download_resource(item.cover) item.cover = await self._download_resource(item.cover)