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
- Download the attached file MC-124447 datapack.zip
and place it in the datapacks folder of your world - Set the maxCommandChainLength value to 2
/gamerule maxCommandChainLength 2
- Use the following command
/function custom:modify_max_chain_length
→
It executes only one command - Run the function again
→
Now it executes both commands
2018-01-20, 12:04 AM
2019-01-28, 02:01 PM
2018-01-23, 12:20 PM
2
3
chain_command_block, function, gamerule, maxCommandChainLength
-