Skip to content

Commit

Permalink
Fixed servers which are skipping LOGIN state
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Dec 10, 2023
1 parent 1e6d9ff commit b517a95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repositories {
}

dependencies {
compileOnly "com.viaversion:viaversion-common:4.9.1"
compileOnly "com.viaversion:viaversion-common:4.9.3-SNAPSHOT"
compileOnly "org.yaml:snakeyaml:2.2"
compileOnly "com.google.guava:guava:32.1.3-jre"
compileOnly "io.netty:netty-handler:4.1.101.Final"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ protected void register() {
sharedKey.send(Protocol1_7_2_5to1_6_4.class, false); // switch to play state
wrapper.user().get(ProtocolMetadataStorage.class).skipEncryption = false;

wrapper.setPacketType(ClientboundPackets1_6_4.JOIN_GAME);
wrapper.send(Protocol1_7_2_5to1_6_4.class, false);
wrapper.cancel();
});
Expand Down

0 comments on commit b517a95

Please sign in to comment.