diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index a1c6ecf..16c776f 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -174,7 +174,7 @@ export class GeneralRoom extends Room { result = this.clients.find(client => client.sessionId == player.id ); } if (!result) { - error(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`); + debugRoom(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`); result = this.getAssistClient(sessionId); debugRoom(`启用辅助机器人, 当前机器人状态: ${(result as RobotClient).active}`) }