Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-105954

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 16w32a
    • Minecraft 16w32b
    • None
    • Confirmed
    • Survival

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              grum [Mojang] Grum (Erik Broes)
              charcoal111 Charcoal111
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: