Fixes #578
This commit is contained in:
parent
5a454c2e8b
commit
2df4688887
2 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ public class BlockOre extends BaseBlock implements ITexturedBlock, IOreNameProvi
|
|||
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos,
|
||||
EntityPlayer player)
|
||||
{
|
||||
return super.getPickBlock(state, target, world, pos, player);
|
||||
return new ItemStack(this,1, getMetaFromState(state));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -92,9 +92,9 @@ public class BlockOre2 extends BaseBlock implements ITexturedBlock, IOreNameProv
|
|||
|
||||
@Override
|
||||
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos,
|
||||
EntityPlayer player)
|
||||
EntityPlayer player)
|
||||
{
|
||||
return super.getPickBlock(state, target, world, pos, player);
|
||||
return new ItemStack(this,1, getMetaFromState(state));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue