Help with making falling torch grid
I once wrote a code to make a grid of falling torches to help light up large areas. That was quite a while ago and now that I've tried again recently the code doesn't work. It just summons a stack of sand on top of the command block.
I've reworked the code and I can get one torch to summon but I cannot get the second one.
/summon minecraft:falling\_block \~ \~2 \~ {BlockState:{Name:"torch"},Time:1,TileEntityData:{mode:"SAVE"},Passengers:\[{id:command\_block,Command:'/summon falling\_block \~5 \~20 \~5 {BlockState:{Name:"torch"},Time:1,TileEntityData:{mode:"SAVE"}'}\]}
Been working on this a while and some help would be appreciated.