🐛 Fix PlayerInfo is not persisted

This commit is contained in:
洛水居室 2023-03-17 00:23:31 +08:00
parent 63c75307e3
commit e025a3a656
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -200,7 +200,7 @@ class PlayersManagesPlugin(Plugin):
await callback_query.edit_message_text(f"账号 {player_id} 未找到") await callback_query.edit_message_text(f"账号 {player_id} 未找到")
return 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: if player_info is None:
await callback_query.edit_message_text(f"账号 {player_id} 信息未找到") await callback_query.edit_message_text(f"账号 {player_id} 信息未找到")
return return