We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d385791 commit c47990bCopy full SHA for c47990b
LavalinkServer/src/main/java/lavalink/server/Launcher.kt
@@ -149,15 +149,9 @@ object Launcher {
149
ApplicationListener { event: Any ->
150
if (event is ApplicationEnvironmentPreparedEvent) {
151
log.info(getVersionInfo())
152
- }
153
- },
154
- ApplicationListener { event: Any ->
155
- if (event is ApplicationReadyEvent) {
+ } else if (event is ApplicationReadyEvent) {
156
log.info("Lavalink is ready to accept connections.")
157
158
159
160
- if (event is ApplicationFailedEvent) {
+ } else if (event is ApplicationFailedEvent) {
161
log.error("Application failed", event.exception)
162
}
163
0 commit comments