Datapack banner patterns on items cause client disconnect

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • CraftBukkit version 4267-Spigot-5bbef5a-403accd (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
    • Yes

      I am using a datapack on my server that adds a custom banner pattern. When I create a banner using the custom pattern via the /setblock or /data  command it functions correctly, but if I use pick block button (or /give command) to get the banner in item form, I am disconnected from the server with an exception message "Failed to decode packet 'serverbound/minecraft:set_creative_mode_slot''". In the server log the disconnect is indicated to have been caused by an IllegalArgumentException originating from the block.banner.CraftPatternType.minecraftToBukkit method.

       

      It appears that the server is failing to convert the minecraft banner pattern into the Bukkit form. I have not had issues with other custom Datapack objects, like custom dimensions and custom enchantments, so I am not sure why this is causing an error.

        1. latest.log
          52 kB
        2. rhinePack.zip
          6 kB

            Assignee:
            Doc
            Reporter:
            Jared Mulder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: