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

Items with empty AttributeModifier tag spam console

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.11.2, Minecraft 17w15a, Minecraft 17w16a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 17w48a, Minecraft 17w49b
    • 1.15 Pre-Release 2
    • Confirmed
    • (Unassigned)

    Description

      When the player has an item with empty AttributeModifiers in their hand, the console is repeatedly spammed with the message

      "Unable to create attribute: Modifier name cannot be empty."
      

      To test:

      1. Use this command:
        /give @p diamond_hoe 1 0 {AttributeModifiers:[{}]}
        

        or

        /give @p diamond_hoe{AttributeModifiers:[{}]} 1
        
      2. Check console

      Attachments

        Activity

          People

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: