Lockette
Lockette copied to clipboard
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.