First it checks the internet connection, then it checks if it even matters if there is one.
It should just skip checking for an internet connection if the config checkOffline is false. Changing the order of the two conditionals in that if statement will resolve this.
https://github.com/BloodyMods/ServerStarter/blob/d13247e2f278741692bbac41cca8ab1f8790af9a/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt#L153-L157
First it checks the internet connection, then it checks if it even matters if there is one.
It should just skip checking for an internet connection if the config
checkOffline
is false. Changing the order of the two conditionals in that if statement will resolve this.