Open
Description
Transferring from: CraftTweaker/ZenScript#48
Refer to below images:
It seems like the break keyword jumps to the end of the first for statement in the function, as rand gets reassigned and "SOW" prints again. This currently bricks the game as it runs an infinite loop (this should aslo be an enhancement as zs should detect infinite loops and, if anything, just break and log the loop and cause unintended behavior--instead of freezing the game)
Edit: ignore the youtube link that was for my reference.