Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-164304

New execute command does not display correct error messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.80.20 Preview, 1.19.80
    • 1.19.50.24 Preview, 1.19.41, 1.19.73
    • None
    • Confirmed
    • Windows
    • 930554

      Empty error message is displayed when there is an error (except syntax error) in the targetselector in second or subsequent subcommand.

       

      You can reproduce them by executing the following command in the chat field or in the command block.

      /execute as @p as @p[type=cow] run say a
      

      Error message is empty.

      /execute as @p run tell @p[type=cow] a

      Error message is empty.

      /execute positioned ~ ~ ~ as @p[type=cow] run say a

      Error message is empty.

      /execute as @p[type=cow] as @p run say a

      Error message is displayed.

      /execute run execute as @p[type=cow] run say a

      Error message is displayed.

      /execute as @p as @p[hasitem={item=bow},hasitem={item=arrow}] run say a
      

      Error message is empty.

      /execute as @p as @f run say a
      

      Error message is displayed.

            szea_ll14 szea_ll14
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: