Game freezes when I:
Place a repeat command block with this command: execute as @e[type=minecraft:arrow] run summon minecraft:arrow
Shoot an arrow with bow
Game freezes when I:
Place a repeat command block with this command: execute as @e[type=minecraft:arrow] run summon minecraft:arrow
Shoot an arrow with bow
It's because of infinite recursive , when you shoot a bow , the arrow summon another arrow , then the arrow and summoned arrow summon another arrow, and so on.