Mojira Archive
MC-92328

Testing for selected item doesn't work in off hand

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.

Works As Intended

SupahYayaz

[Mojang] Searge (Michael Stoyke)

2015-11-07, 07:32 PM

2015-11-30, 01:58 PM

2015-11-30, 12:33 PM

0

4

Unconfirmed

Minecraft 15w45a

-