Started by
Skart2000
on
Topic category: Advanced modding
I'm making a procedure that starts when the player places a block, when he does, it spawns particles and then destroys the block. But I have a problem: If you break the block before the procedure does it, the particles keep spawning. I'm trying to make the procedure constantly check if the block has changed and if it happens then make the procedure stop, but I don't know how to do it. There's certainly other ways to do this but I'm unable to figure them out, please help
just make the block unbreakable for the duration of the procedure
I could do that, but I want the player to be able to break the block