mojira.dev
MC-52630

I summoned a villager with custom trades successfully, but when you try to talk to said villager, the game crashes.

I wanted to be able to summon and trade with the villager, and the villager was summoned successfully, but when you try to talk to the villager the game crashes

Steps to Reproduce:
1. Use this command in a command block to summon the villager:

/summon Villager ~ ~1 ~ 
{Profession:4,CustomName:Florist,CustomNameVisible:0,Offers:
	{Recipes:[
		{buy:{id:371,Count:5},sell:{id:83,Count:1}}
		,{buy:{id:371,Count:1},sell:{id:295,Count:1}}
		,{buy:{id:371,Count:5},sell:{id:361,Count:1}}
		,{buy:{id:371,Count:5},sell:{id:362,Count:1}}
		,{buy:{id:371,Count:20},sell:{id:372,Count:1}}
		,{buy:{id:371,Count:10},sell:{id:6,Count:1}}
		,{buy:{id:371,Count:10},sell:{id:6,Count:1,Damage:1}}
		,{buy:{id:371,Count:10},sell:{id:6,Count:1,Damage:2}}
		,{buy:{id:371,Count:15},sell:{id:6,Count:1,Damage:3}}
		,{buy:{id:371,Count:20},sell:{id:6,Count:1,Damage:4}}
		,{buy:{id:371,Count:20},sell:{id:6,Count:1,Damage:5}}
		]
	}
}

2. Activate the command block, a villager should be summoned on top of it.

3. Talk to the villager, and the game should crash

Environment

OS: Windows 8 (ver 6.2, arch amd64)
Java: 1.7.0_51 (by Oracle Corporation)
Launcher: Minecraft Launcher 1.3.11 (bootstrap 4)
Minecraft: 1.7.5 (updated Wed Apr 02 06:00:00 EDT 2014)

Linked issues

Attachments

Comments 0

No comments.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.7.5

Retrieved