Skip to content

Commit

Permalink
Forgot to set type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Nov 6, 2023
1 parent 21d1494 commit e478e2f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e478e2f

Please sign in to comment.