Compare commits
2 commits
729db37cdc
...
f537fd4667
Author | SHA1 | Date | |
---|---|---|---|
f537fd4667 | |||
39b31edeb4 |
2 changed files with 1 additions and 5 deletions
|
@ -47,7 +47,7 @@ repositories {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.geysermc.mcprotocollib:protocol:1.21-SNAPSHOT'
|
implementation 'org.geysermc.mcprotocollib:protocol:1.21-SNAPSHOT'
|
||||||
implementation 'net.kyori:adventure-text-serializer-ansi:4.15.0'
|
implementation 'net.kyori:adventure-text-serializer-ansi:4.15.0'
|
||||||
implementation 'com.google.code.gson:gson:2.10.1'
|
implementation 'com.google.code.gson:gson:2.11.0'
|
||||||
implementation 'com.google.guava:guava:31.1-jre'
|
implementation 'com.google.guava:guava:31.1-jre'
|
||||||
implementation 'org.jline:jline:3.23.0'
|
implementation 'org.jline:jline:3.23.0'
|
||||||
implementation 'ch.qos.logback:logback-classic:1.5.11'
|
implementation 'ch.qos.logback:logback-classic:1.5.11'
|
||||||
|
|
|
@ -196,10 +196,6 @@ public class Main {
|
||||||
try {
|
try {
|
||||||
final boolean executorDone = executor.awaitTermination(5, TimeUnit.SECONDS);
|
final boolean executorDone = executor.awaitTermination(5, TimeUnit.SECONDS);
|
||||||
final boolean executorServiceDone = executorService.awaitTermination(5, TimeUnit.SECONDS);
|
final boolean executorServiceDone = executorService.awaitTermination(5, TimeUnit.SECONDS);
|
||||||
|
|
||||||
if (!executorDone || !executorServiceDone) {
|
|
||||||
System.out.println("Executors failed to shut down");
|
|
||||||
}
|
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue