mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 Fix PlayerInfo
is not persisted
This commit is contained in:
parent
63c75307e3
commit
e025a3a656
@ -200,7 +200,7 @@ class PlayersManagesPlugin(Plugin):
|
||||
await callback_query.edit_message_text(f"账号 {player_id} 未找到")
|
||||
return
|
||||
|
||||
player_info = await self.player_info_service.get(player)
|
||||
player_info = await self.player_info_service.get_form_sql(player)
|
||||
if player_info is None:
|
||||
await callback_query.edit_message_text(f"账号 {player_id} 信息未找到")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user