Skip to content

Commit

Permalink
Bits can sorta pretend to be chisels, #417
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmX2 committed Aug 14, 2018
1 parent c1e12f7 commit f25921d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/mod/chiselsandbits/items/ItemChiseledBit.java
Expand Up @@ -300,6 +300,21 @@ public EnumActionResult onItemUse(

}

@Override
public boolean canHarvestBlock(
IBlockState blk,
ItemStack stack )
{
return blk.getBlock() instanceof BlockChiseled || super.canHarvestBlock( blk, stack );
}

@Override
public boolean canHarvestBlock(
final IBlockState blk )
{
return blk.getBlock() instanceof BlockChiseled || super.canHarvestBlock( blk );
}

public static BitOperation getBitOperation(
final EntityPlayer player,
final EnumHand hand,
Expand Down

0 comments on commit f25921d

Please sign in to comment.