File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
LavalinkServer/src/main/java/lavalink/server Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments