Mojira Archive
MCPE-151920

The command does not evaluate the selector argument "hasitem" -> data.

The command does not evaluate the selector argument "hasitem" -> data.

Steps to Reproduce:

  1. Obtain blue concrete (data = 11)
  2. Type /testfor @s [hasitem= {item=concrete, data=5}

    ] in the chat

Observed Results:
The command successfully finds the player even though the player has concrete with a data value of 11.

Expected Results:
The command should not find the player.

See video below.