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

The command was executed correctly but output is a failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.20
    • None
    • Creative
    • Unconfirmed
    • Android

      The command was executed correctly

      but Command block output a failure

      /execute as @a[hasitem=\{item=diamond_block,location=slot.weapon.mainhand}] run kill @e[type=zombie] for example

      output: "can't execute kill on OwningMoth98331"

      but when My mainhand is Diamond block is executed kill zombies.

      ----I'm not typed "data" on "hasitem". 

            Unsender Unsender
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: