Jump to content

How do I detect if my custom block is removed? [SOLVED]


Recommended Posts

Posted

I have a particular block whose locations are tracked by a separate class.

 

Whenever my custom block is placed, the tracker is updated.

 

The problem is handling the block being removed. Is there some Block function that runs whenever that block is removed? Something that is guaranteed?

 

I only found one that triggesr when the player destroys a block, and one that triggers when the block explodes.

 

For safety's sake I want something that covers absolutely EVERY scenario possible.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.