Player sensitive version of Block.getPickBlock

Block.getPickBlock was patched in 1.7 but was overlooked in 1.8.

Closes: https://github.com/MinecraftForge/MinecraftForge/issues/1709
This commit is contained in:
Timothy Tomkins committed 2015-04-09 02:09:58 -04:00
1 parent 2f5b5f5ffe
commit dfd42ab573
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
{