mojira.dev
MC-35739

Crash when hovering over a written book given by commands

Tried to give a written book via a /give command.
It crashed when I hovered over it, despite there being a title, author, and text on the pages. NBTExplorer confirmed that the title, author, and text did in fact get created.
Crash report is attached, full command is as follows:

/give @p minecraft:written_book 1 0 {title:["Index erit veneficus tenebrosus sacra"],author:["Garbled"],pages:[["Tu fidem codicis factum est verbum hoc est Necros"]]}
Description: Rendering screen

java.lang.ClassCastException: dn cannot be cast to ds
	at acv.n(SourceFile:50)
	at abm.s(SourceFile:375)
	at abm.a(SourceFile:418)
	at bbw.a(SourceFile:76)
	at bdk.a(SourceFile:581)
	at bcw.a(SourceFile:166)
	at bdn.a(SourceFile:30)

Attachments

Comments 3

The command is wrong, it creates NBT tags but they are the wrong type.

Jeff Claessen:
Ah, that did the trick. I accidentally created empty tags when I used the brackets around the Title, Author, and Pages.

Neospector

Nathan Adams

Confirmed

book, crash, written-book

Minecraft 13w42a, Minecraft 13w42b

Minecraft 1.7

Retrieved