Update26 #3

Merged
YoyoNow merged 35 commits from update26 into master 2026-08-13 09:23:04 +02:00
Showing only changes of commit 7d68208e11 - Show all commits
@@ -268,14 +268,8 @@ public class InitialLoginSessionHandler implements MinecraftSessionHandler {
inbound.disconnect(Component.translatable("multiplayer.disconnect.authservers_down"));
}
}, mcConnection.eventLoop())
.thenRun(() -> {
try {
httpClient.close();
} catch (Exception e) {
// In Java 21, the HttpClient does not throw any Exception
// when trying to clean its resources, so this should not happen
logger.error("An unknown error occurred while trying to close an HttpClient", e);
}
.whenComplete((ignored, throwable) -> {
httpClient.close();
});
} catch (GeneralSecurityException e) {
logger.error("Unable to enable encryption", e);