mojira.dev
MC-30863

/give Bug with item data

When running this command:

/give @p potion 1 8227 {display:{Name:"***Optionen***"}}

(even when I write 373 instead of potion)

An unknown error happens and minecraft crashes:

-- Chat message being added --
Details:
	Raw Message: {"italic":true,"color":"gray","translate":"chat.type.admin","with":["@",{"translate":"commands.give.success","with":[{"color":"white","hoverEvent":{"action":"show_item","value":"{id:373s,Damage:8227s,Count:1b,tag:{display:{Name:\"***Optionen***\",color:\"red\",},},}"},"text":"***Optionen***"},"1","Marcono1234"]}]}
	Reconstructed Component: TranslatableComponent{key='chat.type.admin', args=[@, TranslatableComponent{key='commands.give.success', args=[TextComponent{text='***Optionen***', siblings=[], style=Style{hasParent=true, color=§f, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:373s,Damage:8227s,Count:1b,tag:{display:{Name:"***Optionen***",color:"red",},},}', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}, 1, Marcono1234], siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}], siblings=[], style=Style{hasParent=false, color=§7, bold=null, italic=true, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
Stacktrace:
	at bfl.a(SourceFile:535)
	at fd.a(SourceFile:47)
	at dz.b(SourceFile:64)
	at bfl.e(SourceFile:105)

-- Affected level --

Linked issues

Comments 1

Duplicate of MC-30450, please use the search function to see if your bug has already been submitted. Currently over 57% of tickets are being resolved as duplicate.

marcono1234

(Unassigned)

Unconfirmed

Minecraft 13w37a

Retrieved