Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124379

datapacks load functions unreliably

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w05a
    • Minecraft 18w03b
    • None
    • Unconfirmed

      I'm attaching a world (whoops, is too big to attach, uhm...) Actually, the datapack is small enough to attach here, so I attached it.

      Each time I reload, I get a different number of functions loaded (and indeed, some functions simply are skipped, breaking the game) - from the log:

      Loaded 3554 custom command functions
      ...
      Loaded 3563 custom command functions
      ...
      Loaded 3557 custom command functions
      ...
      Loaded 3562 custom command functions

      Just do /reload a few times and watch the log.

      EXPECTED
      all files loaded

      ACTUAL
      some files skipped (race condition?)

            dinnerbone [Mojang] Nathan Adams
            brianmcn Brian McNamara
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: