feat: add pipeline reflect

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-04-01 11:08:15 +08:00
parent 0e92a9c795
commit a0a4c13e7b
7 changed files with 87 additions and 7 deletions

View File

@@ -25,9 +25,9 @@ export class BungeeTask extends task.Task {
return this.plugin.getProxy().getScheduler().runAsync(this.plugin, run)
}
if (this.interval) {
return this.plugin.getProxy().getScheduler().schedule(this.plugin, run, this.laterTime, this.interval, TimeUnit.MILLISECONDS)
return this.plugin.getProxy().getScheduler().schedule(this.plugin, run, this.laterTime * 50, this.interval * 50, TimeUnit.MILLISECONDS)
} else {
return this.plugin.getProxy().getScheduler().schedule(this.plugin, run, this.laterTime, TimeUnit.MILLISECONDS)
return this.plugin.getProxy().getScheduler().schedule(this.plugin, run, this.laterTime * 50, TimeUnit.MILLISECONDS)
}
}
}