mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 19:35:37 +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 = []
|
||||
for talent in detail.talents:
|
||||
if "普通攻击" in talent.name:
|
||||
talent.Config.allow_mutation = True
|
||||
# noinspection Pydantic
|
||||
talent.group_id = 1131
|
||||
if talent.type in ["attack", "skill", "burst"]:
|
||||
talents.append(talent)
|
||||
|
Loading…
Reference in New Issue
Block a user