Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-92328

Testing for selected item doesn't work in off hand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 15w45a
    • None
    • Windows 7
    • Unconfirmed

      This bug prevents you being able to use the selecteditem command while holding an item in your offhand. I get that you technically are selecting two items with one in your offhand, but it is a selected slot nonetheless.

      Steps to re-create:
      Repeat command block with /testfor @a {SelectedItem:{id:minecraft:stick}}
      place a stick in your hotbar put it in your off-hand
      it does not detect you selecting that item.

            searge [Mojang] Searge (Michael Stoyke)
            superyaya321 SupahYayaz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: