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

Missing Documentation Detail in ShapedRecipe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • N/A

    • This server is running CraftBukkit version 3741-Spigot-d1bd3bd-ccbc6ab (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
    • Yes

      Plugin developers using the org.bukkit.inventory.ShapedRecipe class have to set the shape before setting the ingredients.
      This is not documented in the javadocs, and leads to confusion when the check in line 129 throws an error, when a plugin author tries to set the ingredients before the shape.

            Unassigned Unassigned
            McModknower Tede von Knorre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: