This repository was archived by the owner on Nov 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
src/main/java/io/github/axolotlclient/api Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dependencies {
2828 shadow(implementation(" com.kohlschutter.junixsocket:junixsocket-common:2.10.1" )!! )
2929 shadow(implementation(" com.kohlschutter.junixsocket:junixsocket-native-common:2.10.1" )!! )
3030
31- shadow(implementation(" com.github.mizosoft.methanol:methanol:1.7 .0" )!! )
31+ shadow(implementation(" com.github.mizosoft.methanol:methanol:1.8 .0" )!! )
3232 shadow(implementation(" io.nayuki:qrcodegen:1.8.0" )!! )
3333}
3434
Original file line number Diff line number Diff line change 3232import java .util .concurrent .TimeoutException ;
3333import java .util .stream .Collectors ;
3434
35- import com .github .mizosoft .methanol .Methanol ;
3635import io .github .axolotlclient .api .handlers .*;
3736import io .github .axolotlclient .api .requests .AccountSettingsRequest ;
3837import io .github .axolotlclient .api .requests .GlobalDataRequest ;
@@ -362,7 +361,7 @@ private void scheduleRestart(boolean immediate) {
362361 if (restartingFuture != null ) {
363362 restartingFuture .cancel (true );
364363 }
365- logger .info ("Trying restart in " + (immediate ? "10 seconds" : "5 minutes." ));
364+ logger .info ("Trying restart in " + (immediate ? "10 seconds" : "5 minutes." ));
366365 restartingFuture = CompletableFuture .runAsync (() -> {
367366 logDetailed ("Restarting API session..." );
368367 startup (account );
@@ -376,7 +375,7 @@ private void createSession() {
376375 logDetailed ("Connecting to websocket.." );
377376 URI gateway = Request .Route .GATEWAY .create ().resolve ();
378377 String uri = (gateway .getScheme ().endsWith ("s" ) ? "wss" : "ws" ) + gateway .toString ().substring (gateway .getScheme ().length ());
379- socket = (( Methanol ) client ). underlyingClient () .newWebSocketBuilder ().header ("Authorization" , token )
378+ socket = client .newWebSocketBuilder ().header ("Authorization" , token )
380379 .buildAsync (URI .create (uri ), new ClientEndpoint ()).join ();
381380 logDetailed ("Socket connected" );
382381 } catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ org.gradle.parallel=true
66axolotlclient.modules.all =true
77
88# Mod Properties
9- version =3.1.0-beta.38
9+ version =3.1.0-beta.39
1010
1111maven_group =io.github.axolotlclient
1212
You can’t perform that action at this time.
0 commit comments