Acru/Lockette — pull request #4 by andrepl (2012-10-30 04:27:21+00:00)
Title: Allow interacting with doors at close range while holding a placeable block

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.