forked from 2009Scape/Server
Fixed weird bug with daily restart code
This commit is contained in:
parent
61ae557afa
commit
f606a04295
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ import kotlin.collections.ArrayList
|
|||
class MajorUpdateWorker {
|
||||
var started = false
|
||||
val sequence = UpdateSequence()
|
||||
val sdf = SimpleDateFormat("HH")
|
||||
val sdf = SimpleDateFormat("HHmm")
|
||||
fun start() = GlobalScope.launch {
|
||||
started = true
|
||||
while(true){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue