调整切换assist机器人的日志等级
This commit is contained in:
parent
98e46c51c9
commit
aea1fd6a6f
@ -174,7 +174,7 @@ export class GeneralRoom extends Room {
|
|||||||
result = this.clients.find(client => client.sessionId == player.id );
|
result = this.clients.find(client => client.sessionId == player.id );
|
||||||
}
|
}
|
||||||
if (!result) {
|
if (!result) {
|
||||||
error(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`);
|
debugRoom(`无法获取id为: ${typeof player == 'string' ? player : player.id} 的客户端`);
|
||||||
result = this.getAssistClient(sessionId);
|
result = this.getAssistClient(sessionId);
|
||||||
debugRoom(`启用辅助机器人, 当前机器人状态: ${(result as RobotClient).active}`)
|
debugRoom(`启用辅助机器人, 当前机器人状态: ${(result as RobotClient).active}`)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user