Hey.
I’m working on a Skript which is able to replace blocks that were destroyed after 3 seconds.
now there is a problem:
if I destroy for example destroy a stair that’s facing upside down, the stair gets seted to a normal facing stair after 3 seconds.
But I want skript to set the block to exactly the same one as which it was before.
Here is the code:
I’m working on a Skript which is able to replace blocks that were destroyed after 3 seconds.
now there is a problem:
if I destroy for example destroy a stair that’s facing upside down, the stair gets seted to a normal facing stair after 3 seconds.
But I want skript to set the block to exactly the same one as which it was before.

Here is the code:
code_language.skript:
on break:
cancel event
delete the block
set {_block.loc.%player%} to location of block
set {_block.id.%player%} to ("%block%" parsed as item)
wait 3 seconds
set block at location of {_block.loc.%player%} to {_block.id.%player%}