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

Items with empty AttributeModifier tag spam console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w15a, Minecraft 17w16a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 17w48a, Minecraft 17w49b
    • Fix Version/s: 1.15 Pre-Release 2
    • Confirmation Status:
      Confirmed
    • Category:
      (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

            Assignee:
            Unassigned Unassigned
            Reporter:
            onnowhere Onnowhere
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: