Skip to content

Conditional for checking offline status is flipped #75

@trunksbomb

Description

@trunksbomb

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions