set {_loc1} to location(-1, 75, -9, world of player)
set {_loc2} to location(-1, 66, 6, world of player)
add all blocks between {_loc1} and {_loc2} to {_list::*}
set {_loc3} to location(1, 75, -9, world of player)
set {_loc4} to location(1, 66, 6, world of player)
add all blocks between {_loc3} and {_loc4} to {_list2::*}
loop {_list::*}:
if loop-value's type is not "tinted glass", "bedrock", or "black concrete":
remove loop-value from {_list::*}
set block at loop-value to barrier
loop {_list2::*}:
if loop-value's type is not "tinted glass", "bedrock", or "black concrete":
remove loop-value from {_list2::*}
set block at loop-value to barrier
its because skript cant determine where it ends but that should not be the case and idk whats wrong??