Skip to content

Commit

Permalink
feat: change protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
AzaleeX committed Sep 29, 2024
1 parent 3fdb504 commit 3e8f9c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<protocol.version>3.0.0.Beta3-SNAPSHOT</protocol.version>
<protocol.version>3.0.0.Beta5-SNAPSHOT</protocol.version>
<raklib.version>1.0.0.CR3-SNAPSHOT</raklib.version>
<log4j2.version>2.23.1</log4j2.version>
<jline.version>3.23.0</jline.version>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/org/sculk/network/protocol/ProtocolInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.cloudburstmc.protocol.bedrock.codec.BedrockCodec;
import org.cloudburstmc.protocol.bedrock.codec.v712.Bedrock_v712;
import org.cloudburstmc.protocol.bedrock.codec.v729.Bedrock_v729;

import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
Expand All @@ -24,13 +25,13 @@
*/
public class ProtocolInfo {

public static int CURRENT_PROTOCOL = Integer.parseInt("712");
public static int CURRENT_PROTOCOL = Integer.parseInt("729");

public static BedrockCodec CODEC = Bedrock_v712.CODEC;
public static BedrockCodec CODEC = Bedrock_v729.CODEC;

private static final Set<BedrockCodec> CODECS = ConcurrentHashMap.newKeySet();

public static String MINECRAFT_VERSION_NETWORK = "1.21.21";
public static String MINECRAFT_VERSION_NETWORK = "1.21.30";
public static String MINECRAFT_VERSION = "v" + MINECRAFT_VERSION_NETWORK;

static {
Expand Down

0 comments on commit 3e8f9c1

Please sign in to comment.