mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 11:32:43 +00:00
🐛 Fix AttributeError in avatar_list allow_mutation
This commit is contained in:
parent
67d7ea226b
commit
700ab47bee
@ -108,8 +108,6 @@ class AvatarListPlugin(Plugin):
|
|||||||
talents = []
|
talents = []
|
||||||
for talent in detail.talents:
|
for talent in detail.talents:
|
||||||
if "普通攻击" in talent.name:
|
if "普通攻击" in talent.name:
|
||||||
talent.Config.allow_mutation = True
|
|
||||||
# noinspection Pydantic
|
|
||||||
talent.group_id = 1131
|
talent.group_id = 1131
|
||||||
if talent.type in ["attack", "skill", "burst"]:
|
if talent.type in ["attack", "skill", "burst"]:
|
||||||
talents.append(talent)
|
talents.append(talent)
|
||||||
|
Loading…
Reference in New Issue
Block a user