Jump to content

How to get my block..?


Degubi

Recommended Posts

There's a bug in vanilla Minecraft from late 1.7.10 until sometime in 1.8 that calls a block's methods during the act of deletion but after setting the original block to air in the world. This bug is patched by a relatively recent Forge version. Either update to a more recent Forge build or else test for air and implement a default behavior appropriate for when your block has already been deleted.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

Hmm... I hate bug regression. You better test for air then, and decide how to handle the condition gracefully (knowing that your block was already broken).

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

OK, That's a new one. Still, you're being passed air. Use the debugger to find out how/why. Then you'll know what to do after detecting the air. Also: Look carefully to see whether this is happening on client or server. Where's your log file? We're shooting in the dark here, which is probably why none of the other 99 views has chimed in.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

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.