Merge pull request #1781 from ShetiPhian/Block.getPickBlock

Player sensitive version of Block.getPickBlock
This commit is contained in:
LexManos committed 2015-06-17 16:37:03 -07:00
commit 87b55860af
2 files changed
+7 -2

No files matched your search

@@ -264,7 +264,7 @@ public class ForgeHooks
if (isCreative && GuiScreen.isCtrlKeyDown())
te = world.getTileEntity(target.getBlockPos());
result = state.getBlock().getPickBlock(target, world, target.getBlockPos());
result = state.getBlock().getPickBlock(target, world, target.getBlockPos(), player);
}
else
{