MinecraftForge/MinecraftForge — pull request #89 by ScottKillen (2012-06-21 02:23:54+00:00)
Title: Fix isBlockReplaceable bug

If a custom block overrides Block.isBlockReplaceable() so that it returns true, ItemBlock.onItemUse() misplaces the replacement block. The site of the replacement block is shifted so that it is placed adjacent to the face of the replaceable block targeted by the player, rather than replacing the replaceable block. The result is illustrated in [this screenshot](http://i.imgur.com/3e64h.jpg).

This change properly implements the hook on vanilla blocks and makes ItemBlock.onItemUse() properly react to any block that implements this hook.

Changes are included for both client and server.