No longer running ticks in a coroutine, should address apparent lag after server has been running a while
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user