mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-09 19:48:37 +01:00
fix position of addShutdownHook()
This commit is contained in:
parent
4288ab4792
commit
49ee04261b
@ -106,8 +106,10 @@ fun main(args: Array<String>) {
|
||||
bindPorts(args)
|
||||
|
||||
initFuture.complete(Unit)
|
||||
VIAaaSConsole.start()
|
||||
addShutdownHook()
|
||||
|
||||
VIAaaSConsole.start()
|
||||
|
||||
serverFinishing.join()
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
|
Loading…
Reference in New Issue
Block a user