From e478e2febedb984589a78f7a2d9835fb1719a2ff Mon Sep 17 00:00:00 2001 From: Alemiz Date: Mon, 6 Nov 2023 18:48:15 +0100 Subject: [PATCH] Forgot to set type --- .../codec/v291/serializer/AvailableCommandsSerializer_v291.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/AvailableCommandsSerializer_v291.java b/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/AvailableCommandsSerializer_v291.java index 43f996b19..5dcb05274 100644 --- a/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/AvailableCommandsSerializer_v291.java +++ b/bedrock-codec/src/main/java/org/cloudburstmc/protocol/bedrock/codec/v291/serializer/AvailableCommandsSerializer_v291.java @@ -262,6 +262,7 @@ protected CommandParamData readParameter(ByteBuf buffer, BedrockCodecHelper help if (type == null) { throw new IllegalStateException("Invalid parameter type: " + parameterTypeId + ", Symbol: " + symbol); } + param.setType(type); } } else { throw new IllegalStateException("No param type specified: " + param.getName());