Skip to content

Commit

Permalink
Merge pull request Pugmatt#205 from Camotoy/feature/1.17.10
Browse files Browse the repository at this point in the history
Update for Bedrock 1.17.10
  • Loading branch information
Pugmatt authored Jul 1, 2021
2 parents 15c4dcf + 563fc07 commit c8029f0
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-v440</artifactId>
<version>2.8.0-SNAPSHOT</version>
<artifactId>bedrock-v448</artifactId>
<version>2.8.1-SNAPSHOT</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.nukkitx.protocol.bedrock.v428.Bedrock_v428;
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 java.util.ArrayList;
import java.util.List;
Expand All @@ -16,7 +17,7 @@ public class BedrockProtocol {
/**
* Latest available version
*/
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v431.V431_CODEC;
public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v440.V440_CODEC;

/**
* A list of all supported Bedrock versions that can join BedrockConnect
Expand All @@ -31,8 +32,9 @@ public class BedrockProtocol {
.minecraftVersion("1.16.200/1.16.201")
.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);
}

/**
Expand Down

0 comments on commit c8029f0

Please sign in to comment.