Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6065

io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Name cannot be empty


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version git-Spigot-9639cf7-4b9bc9d (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

      (Sorry for broken formatting on the commands–I can't figure out how to fix it. Just remove the line breaks to fix it.)


      /give @p minecraft:elytra{AttributeModifiers:[



      will disconnect the player with the following error screen:

      Rejoining the server will result in the same error. The player is NBT-banned from the server due to the lack of the Name property in the attribute modifier object. This issue does not occur in vanilla. This command, in contrast,

      /give @p minecraft:elytra{AttributeModifiers:[

      {AttributeName:"minecraft:generic.armor",Name:"any text here",Slot:"chest",Operation:0,Amount:3.0d,UUID:[I;-1623373971,-1055374012,-2090507132,1761916046]}


      works fine in Spigot, as it is not missing the Name property.

            Unassigned Unassigned
            Grant Gryczan Grant Gryczan
            0 Vote for this issue
            0 Start watching this issue