No longer running ticks in a coroutine, should address apparent lag after server has been running a while

This commit is contained in:
Ceikry 2022-05-16 12:27:45 +00:00 committed by Ryan
parent 07065c7e79
commit 77320289b5

View file

@ -43,7 +43,7 @@ class MajorUpdateWorker {
val start = System.currentTimeMillis()
Server.heartbeat()
GlobalScope.launch { handleTickActions() }
handleTickActions()
//Handle daily restart if enabled
if(sdf.format(Date()).toInt() == 0){