mojira.dev
MC-105954

Game crashes when hit by an entity holding an item without a specified damage value

Game crashes when you are hit by a zombie holding any item that doesn't have a set damage value, like a sword, steps to reproduce:
1. run this command:

/summon Zombie ~ ~1 ~ {HandItems:[{id:bone,Count:1},{}]}

(also happens with natural/spawn egg zombies command is just for ease of testing)

2. go into gamemode 0 and get hit by the zombie

Also affect the zombie pigman/husk/skeleton(wither)/husk

Linked issues

Attachments

Comments 1

Also affect the skeleton(wither)/husk/zombie pigman.

Charcoal111

Erik Broes

Confirmed

Minecraft 16w32a

Minecraft 16w32b

Retrieved