Jump to content

[1.11] PlayerInteractEvent.RightClickBlock on upper part of door.


Recommended Posts

Posted

For some reason the upper part of an Oak Door bypass event.setCanceled(true); while the lower part of an Oak Door works perfectly. Meanwhile, Iron Doors triggers the event 2 times.

 

So, What should I do to cancel the event? I've the lower part of the Oak Door gets canceled properly but when I interact with the upper part, it doesn't get canceled properly.

Posted

I figure out that it is caused by client side not canceling the event from tests. It doesn't cancel events because client can't load the same WorldSavedData saved. How should I fix this?

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.