If a tnt explode, is there a way to fix the damage what the tnt caused?
I tried with this, but its not fixing every block:
[doublepost=1489682278,1489679309][/doublepost]Edit: Its working if i place down a tnt then ignite it. but if I create and explosion with this
it doesnt work..
I tried with this, but its not fixing every block:
code_language.skript:
on explode:
loop exploded blocks:
add location of loop-block to {boom.loc::*}
add type of loop-block to {boom.type::*}
set loop-block to air
command /fix:
trigger:
loop {boom.loc::*}:
set block at loop-value to {boom.type::%loop-index%}
code_language.skript:
create an explosion of force 10 at the player