{
BlockPos pos = target.getBlockPos();
World world = player.getEntityWorld();
Block block = world.getBlockState(pos).getBlock();
if (!block.isAir(world, pos)) {
<BUG>ItemStack temp = block.getPickBlock(target, world, pos);
</BUG>
if (temp!=null && player.capabilities.isCreativeMode && GuiScreen.isCtrlKeyDown()) {
TileEntity te = world.getTileEntity(pos);
if(te!=null){

{
BlockPos pos = target.getBlockPos();
World world = player.getEntityWorld();
Block block = world.getBlockState(pos).getBlock();
if (!block.isAir(world, pos)) {
ItemStack temp = block.getPickBlock(target, world, pos, player);
if (temp!=null && player.capabilities.isCreativeMode && GuiScreen.isCtrlKeyDown()) {
TileEntity te = world.getTileEntity(pos);
if(te!=null){
