mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
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:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user