Skip to content

Commit

Permalink
Support 1.21.0
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed Jun 17, 2024
1 parent 829528c commit d389784
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion protocol
Submodule protocol updated 103 files
5 changes: 3 additions & 2 deletions src/main/java/org/cloudburstmc/proxypass/ProxyPass.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodec;
import org.cloudburstmc.protocol.bedrock.codec.BedrockCodecHelper;
import org.cloudburstmc.protocol.bedrock.codec.v671.Bedrock_v671;
import org.cloudburstmc.protocol.bedrock.codec.v685.Bedrock_v685;
import org.cloudburstmc.protocol.bedrock.data.EncodingSettings;
import org.cloudburstmc.protocol.bedrock.data.definitions.BlockDefinition;
import org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer;
Expand Down Expand Up @@ -64,8 +65,8 @@ public class ProxyPass {
public static final ObjectMapper JSON_MAPPER;
public static final YAMLMapper YAML_MAPPER = (YAMLMapper) new YAMLMapper().disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
public static final String MINECRAFT_VERSION;
public static final BedrockCodecHelper HELPER = Bedrock_v671.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v671.CODEC
public static final BedrockCodecHelper HELPER = Bedrock_v685.CODEC.createHelper();
public static final BedrockCodec CODEC = Bedrock_v685.CODEC
.toBuilder().helper(() -> HELPER).build();

public static final int PROTOCOL_VERSION = CODEC.getProtocolVersion();
Expand Down

0 comments on commit d389784

Please sign in to comment.