mojira.dev
MC-105989

Execute detect stairs stops working after reloading the world

When using an execute command in a repeating command block on an entity to detect when it is standing on stairs, it works fine, until you close and reopen the world. It causes it to stop working, but when you break and place the stairs back it starts working again. Command used:

/execute @e ~ ~ ~ detect ~ ~-1 ~ stone_brick_stairs 0 /tp @e[c=1] ~5 ~ ~

Steps to reproduce:
1. Place oak wood stairs under you, facing east
2. /testforblock ~ ~-1 ~ minecraft:oak_stairs 0 should succeed
3. Relog
4. The same command should fail, saying The block at 255, 69, 283 had the data value of 0 (expected: 0)

Environment

Windows 10, jre- x64/1.8.0_25

Attachments

Comments 1

Confirmed for

  • 16w32a

Also for the /testforblock command. The following message is shown:

[Client thread/INFO]: [CHAT] The block at 9, 4, 14 had the data value of 0 (expected: 0)

migrated

Erik Broes

Confirmed

Minecraft 16w32a

Minecraft 16w32b

Retrieved