Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow interacting with doors at close range while holding a placeable block #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andrepl
Copy link

@andrepl andrepl commented Oct 30, 2012

This patch uses player.getTargetBlock when it detects a cancelled RIGHT_CLICK_AIR PlayerInteractionEvent. if the target block is a door, it becomes the new 'block' and Lockette treats it normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant