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

Modifying maxCommandChainLength inside of function or command blocks does not affect currently running chain

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      Modifying the maxCommandChainLength gamerule value inside a function or command block does not affect the currently running chain.

      How to reproduce

      1. Download the attached file MC-124447 datapack.zip and place it in the datapacks folder of your world
      2. Set the maxCommandChainLength value to 2
        /gamerule maxCommandChainLength 2
        
      3. Use the following command
        /function custom:modify_max_chain_length
        

        It executes only one command

      4. Run the function again
        Now it executes both commands

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dinnerbone [Mojang] Nathan Adams
              Reporter:
              marcono1234 [Mod] Marcono1234
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: