forked from mirror/MCSM-Daemon
upd: 关闭实例时清空在线人数统计数据
This commit is contained in:
parent
63e552bd17
commit
5ba458a3c0
@ -68,6 +68,7 @@ export default class RefreshPlayer implements ILifeCycleTask {
|
||||
instance.info.maxPlayers = -1;
|
||||
instance.info.currentPlayers = -1;
|
||||
instance.info.version = "";
|
||||
instance.info.playersChart = [];
|
||||
clearInterval(this.task);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user