mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Merge pull request #1781 from ShetiPhian/Block.getPickBlock
Player sensitive version of Block.getPickBlock
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user