-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
ServerStarter/src/main/kotlin/atm/bloodworkxgaming/serverstarter/ServerStarter.kt
Lines 153 to 157 in d13247e
| if (!internetManager.checkConnection() && config.launch.checkOffline) { | |
| LOGGER.error("Problems with the Internet connection, please check your connection!\n" + | |
| "This could however be a problem with the servers as well.\n" + | |
| "Continuing to download, but this may fail!") | |
| } |
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.
Metadata
Metadata
Assignees
Labels
No labels