Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 5ba458a

Browse files
committed
upd: 关闭实例时清空在线人数统计数据
1 parent 63e552b commit 5ba458a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/entity/commands/task/players.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export default class RefreshPlayer implements ILifeCycleTask {
6868
instance.info.maxPlayers = -1;
6969
instance.info.currentPlayers = -1;
7070
instance.info.version = "";
71+
instance.info.playersChart = [];
7172
clearInterval(this.task);
7273
}
7374
}

0 commit comments

Comments
 (0)