From 6633f007ac197c04c24c73d1074b5fe5c0770561 Mon Sep 17 00:00:00 2001 From: Alemiz Date: Mon, 21 Oct 2024 14:43:28 +0200 Subject: [PATCH] Fix command params --- .../protocol/bedrock/codec/v685/Bedrock_v685.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java b/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java index 3947592b5..94f103ce4 100644 --- a/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java +++ b/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v685/Bedrock_v685.java @@ -43,11 +43,10 @@ public class Bedrock_v685 extends Bedrock_v671 { protected static final TypeMap COMMAND_PARAMS = Bedrock_v671.COMMAND_PARAMS.toBuilder() .remove(134217728)//remove CommandParam.CHAINED_COMMAND - .shift(86, 4) - .insert(86, CommandParam.CODE_BUILDER_ARG) - .insert(87, CommandParam.CODE_BUILDER_ARGS) - .insert(88, CommandParam.CODE_BUILDER_SELECT_PARAM) - .insert(89, CommandParam.CODE_BUILDER_SELECTOR) + .insert(88, CommandParam.CODE_BUILDER_ARG) + .insert(89, CommandParam.CODE_BUILDER_ARGS) + .insert(90, CommandParam.CODE_BUILDER_SELECT_PARAM) + .insert(91, CommandParam.CODE_BUILDER_SELECTOR) .insert(134217728, CommandParam.CHAINED_COMMAND)//reinsert, avoid shift .build();