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

players in spectator mode are being detected by command blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.19.73
    • None
    • Unconfirmed
    • Android

       

      Players in spectator mode are detected when using the /testfor and /execute if entity commands

      Steps to reproduce: 

      1-type the command /testfor @a[x=~,  y=~+1,  z=~,  dy=2] or /execute if entity @a[x=~,  y=~+1,  z=~,  dy=2] in a command block.

      2- place a redstone comparator next to the command block.

      3-stand on top of the command block

       

      Observed results:

      the command block will detect all players in any game mode.

       

      Expected results:

      players in spectator mode were not supposed to be detected by the command block, as players in spectator mode were not supposed to interact in the game, just observe.

       

       

       

       

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

              Created:
              Updated:
              Resolved: