Lockette icon indicating copy to clipboard operation
Lockette copied to clipboard

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

Open andrepl opened this issue 12 years ago • 0 comments

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.

andrepl avatar Oct 30 '12 04:10 andrepl