# Adjust end border to TARGET using DIFF.
execute if score DIFF bc_tmp matches 100.. run function bordercraft:reloadborder/end_plus100
execute if score DIFF bc_tmp matches 10..99 run function bordercraft:reloadborder/end_plus10
execute if score DIFF bc_tmp matches 2..9 run function bordercraft:reloadborder/end_plus2
execute if score DIFF bc_tmp matches 1 run function bordercraft:reloadborder/end_plus1
execute if score DIFF bc_tmp matches ..-100 run function bordercraft:reloadborder/end_minus100
execute if score DIFF bc_tmp matches -99..-10 run function bordercraft:reloadborder/end_minus10
execute if score DIFF bc_tmp matches -9..-2 run function bordercraft:reloadborder/end_minus2
execute if score DIFF bc_tmp matches -1 run function bordercraft:reloadborder/end_minus1
