Skip to content

Commit

Permalink
Support Bedrock 1.17.30
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Sep 21, 2021
1 parent e994159 commit 36cc317
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions serverlist-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
</dependency>
<dependency>
<groupId>com.nukkitx.protocol</groupId>
<artifactId>bedrock-v448</artifactId>
<version>2.8.1-SNAPSHOT</version>
<artifactId>bedrock-v465</artifactId>
<version>2.9.0-SNAPSHOT</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.nukkitx.protocol.bedrock.v431.Bedrock_v431;
import com.nukkitx.protocol.bedrock.v440.Bedrock_v440;
import com.nukkitx.protocol.bedrock.v448.Bedrock_v448;
import com.nukkitx.protocol.bedrock.v448.Bedrock_v465;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -17,7 +18,7 @@ public class BedrockProtocol {
/**
* Latest available version
*/
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v440.V440_CODEC;
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v465.V465_CODEC;

/**
* A list of all supported Bedrock versions that can join BedrockConnect
Expand All @@ -33,8 +34,9 @@ public class BedrockProtocol {
.build());
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v428.V428_CODEC);
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v431.V431_CODEC);
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v440.V440_CODEC);
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v448.V448_CODEC);
SUPPORTED_BEDROCK_CODECS.add(Bedrock_v465.V465_CODEC);
}

/**
Expand Down

0 comments on commit 36cc317

Please sign in to comment.