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

/datapack disable doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w12a
    • 24w11a
    • None
    • Confirmed
    • Data Packs
    • Very Important
    • Platform

      Trying to disable any datapack using /datapack disable fails with the error message Pack 'file/...' cannot be disabled, since it is part of an enabled flag!, even when that is not the case.

      How to reproduce:
      I've attached an empty datapack to simplify the testing.

      1. Add the attached empty datapack to a world, or create a new world with the datapack (or use any other datapack)
      2. If needed, enable the datapack with /datapack enable "file/empty_datapack.zip"
      3. run /datapack disable "file/empty_datapack.zip"
      4. See the error message Pack 'file/empty_datapack.zip' cannot be disabled, since it is part of an enabled flag!

      Expected result:

      You can disable a datapack that is not required to enable a feature flag.

            slicedlime [Mojang] slicedlime
            CC_fan jacobsjo
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: