MagicWE
MagicWE copied to clipboard
World edit action completion event
is there a way to check that all blocks were placed using the api?
You could use countAsync before and after the action. Normally if using API methods all blocks place anyways, and the method will return true. What is your use / what are you trying to archive?
I’m using your nice API to place blocks. Basically when I reset mines and the players are in certain areas, I teleport them to the top to prevent from suffocating but since blocks don’t get placed instantly, the feature is not working as expected so I asked if there was a way to check if blocks are done placing so then I can teleport them to the top
how can i use countAsync to do this?
I understand now. I think it is not possible yet. I could add an Event, but at the current code state it would pollute the cleanup branch again. I will do this some time later.
ah ok thanks. no pressure