提交 a849d02b 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

code clean

上级 506909c6
......@@ -172,7 +172,7 @@ export class Room extends PuppetAccessory implements Sayable {
*/
public static load<T extends typeof Room>(this: T, id: string): T['prototype'] {
if (!id) {
throw new Error('Room.load() no id')
throw new Error('no id')
}
const existingRoom = this.pool.get(id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册