Skip to content

Commit

Permalink
Fix command params
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Oct 21, 2024
1 parent 43b1c87 commit 6633f00
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ public class Bedrock_v685 extends Bedrock_v671 {

protected static final TypeMap<CommandParam> 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();

Expand Down

0 comments on commit 6633f00

Please sign in to comment.