Can't add recipe without a datapack containing a recipe.

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:
    • This server is running CraftBukkit version git-Spigot-a03b1fd-f7d6ad5 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
    • Yes

      It appears that a datapack of some kind (either the vanilla datapack or a new one with a single recipe) is required to exist on the server in order for Spigot/CraftBukkit to be able to add a recipe.

      Source for Test Plugin with a single recipe add.

       

      Default server setup with TestPlugin:

      1. Add TestPlugin
      2. Restart Server

      = Plugin's recipe added successfully

      Vanilla Datapack disabled:

      1. Add TestPlugin
      2. Run "/datapack disable vanilla"
      3. Restart Server

      = TestPlugin's recipe does not work. See attached NullPointerException

      I would expect this to still add the recipe.

      Single recipe datapack only:

      1. Add TestPlugin
      2. Run "/datapack disable vanilla"
      3. Extract DatapackWithOneRecipe.rar to <Server>/world/datapacks/
      4. Restart Server

      = TestPlugin's recipe works.

       

            Assignee:
            Unassigned
            Reporter:
            Ryan Breuer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: