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

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 16w32a
    • Fix Version/s: Minecraft 16w32b
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Game Mode:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: