mojira.dev
MC-94839

Log2 Data Value Crash

When I was trying to figure out the data value of dark oak wood, I discovered a game crashing glitch. When you use /give to get a log2 item with a data value of over 1, you get the missing texture block. When you place it down, the game crashes.

What I Thought Would Happen:
I would be able to place down the log block without troubles, similar to placing down a dirt block with a data value of 5.

What Actually Happened:
When I placed down the log, the game crashed.

Steps To Reproduce:
1. Use /give @p log2 1 2
2. Place down the block
3. Crash

Linked issues

Attachments

Comments

user-f2760

You gave yourself a log2 with data value 2, a log2 with value 2 doesn't exist, the game doesn't know what it's supposed to place, thus it stops functioning.

Reminder: it's

/give {PLAYERNAME} {ITEM} [AMOUNT] [DATAVALUE] [DATATAG]
Roger Cronin

When giving yourself a different item, for example dirt, with an unknown data value, it places down a data value of 0, and no crash. As far as I know, log2 is the only block that crashes.

Mustek

It's been reported already. See MC-75940.
I've updated the affected version.

Roger Cronin

(Unassigned)

Unconfirmed

Minecraft 1.8.9, Minecraft 15w51b

Retrieved