Loading an additional world overwrites custom advancements

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Spigot server with a plugin which loads additional worlds after the server started up.

      Whenever you load a world, the advancements found in its "data/advancements" folder are loaded, overwriting whatever custom advancements the server already maintains. Effectively, advancements from the most recently loaded world are used, instead of the default world.

       

      Steps to reproduce:

      • Start server with custom advancements in the "world/data/advancements" folder.
      • Via some plugin, load an additional (normal) world with an empty "data/advancements" folder.
      • Notice that all advancements have been wiped.

       

      With many other global data (player data, maps, etc), Spigot uses the contents of the default world's appropriate sub-folders. Only advancements show this behavior. Therefore, I suggest that advancements should only be loaded from the default world.

            Assignee:
            Unassigned
            Reporter:
            StarTux
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: