This commit is contained in:
modmuss50 2016-05-16 14:30:32 +01:00
parent 5a454c2e8b
commit 2df4688887
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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