@ -79,7 +79,7 @@ class DevCommand : CliktCommand("dev") {
|
||||
} else {
|
||||
setLogConfig(args)
|
||||
val version = findVersion(server) ?: throw CliktError("Unknown Server Version")
|
||||
val worldFile = world?.let { it.absolute().toFile() } ?: File(serverDir, "devtempworld")
|
||||
val worldFile = world?.absolute()?.toFile() ?: File(serverDir, "devtempworld")
|
||||
val jarFile = jar?.absolutePath ?: JARS[server]?.let { VERSIONS[it] } ?: VERSIONS[version]
|
||||
?: throw CliktError("Unknown Server Version")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user