Mojira Archive
MC-124447

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

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

Works As Intended

Marcono1234

[Mojang] Nathan Adams

2018-01-20, 12:04 AM

2019-01-28, 02:01 PM

2018-01-23, 12:20 PM

2

3

Confirmed

chain_command_block, function, gamerule, maxCommandChainLength

Minecraft 18w03b

-