isDir

fun isDir(packConfig: PackConfig, configCheck: ConfigCheck): ConfigCheck

If the in the configuration specified modpack dir is an existing directory, checks are made for valid configuration of: directories to copy to server pack, if includeServerInstallation is true path to Java executable/binary, Minecraft version, modloader and modloader version.

Return

true if an error is found during configuration check.

Author

Griefed

Parameters

packConfig

An instance of PackConfig which contains the configuration of the modpack.

configCheck

Contains all encountered errors during the check of the passed configuration.