ElgarL/Lockette — pull request #1 by andrepl (2012-12-02 05:56:20+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.