Skip to content

Commit 43e0716

Browse files
authored
Merge pull request #806 from freyacodes/dev
v3.7.1 release
2 parents 6d58916 + 900c280 commit 43e0716

File tree

1 file changed

+0
-16
lines changed
  • LavalinkServer/src/main/java/lavalink/server

1 file changed

+0
-16
lines changed

LavalinkServer/src/main/java/lavalink/server/Launcher.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,6 @@ object Launcher {
122122
return
123123
}
124124

125-
val config = File("./application.yml")
126-
if (!config.exists()) {
127-
log.info("No application.yml found, creating one...")
128-
Launcher::class.java.getResource("/application.yml.example")?.let {
129-
it.openStream().use {
130-
if (!config.createNewFile()) {
131-
log.error("Unable to create application.yml")
132-
return
133-
}
134-
config.outputStream().use { out ->
135-
it.copyTo(out)
136-
}
137-
}
138-
} ?: log.error("Unable to find application.yml.example in resources")
139-
}
140-
141125
val parent = launchPluginBootstrap()
142126
log.info("You can safely ignore the big red warning about illegal reflection. See https://github.com/freyacodes/Lavalink/issues/295")
143127
launchMain(parent, args)

0 commit comments

Comments
 (0)