fix: plugin bug

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-09-24 15:27:51 +08:00
parent ed14d317f4
commit d85f75ba1f
2 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ export class MiaoReward extends interfaces.Plugin {
}
disable() {
this.server.getOnlinePlayers().forEach(p => this.checkAndClear(p))
Java.from(this.server.getOnlinePlayers()).forEach(p => this.checkAndClear(p))
this.channelOff?.off()
}