# ==================================================
# void vb.button.main.crash()
# ==================================================
# ==================================================
#     Detect maxCommandChainLength extended, and stop process if more than 10 in a row    
# ==================================================

scoreboard players add vb.button.main.crashCount tbms.var 1
scoreboard players set vb.button.main.crash._0 tbms.var 0
execute if score vb.button.main.crashCount tbms.var matches 11.. run function vb/zzz_sl_block/309
