final BitLocation bl = new BitLocation( mc.objectMouseOver, true, BitOperation.CHISEL );
final IBitAccess access = ChiselsAndBits.getApi().getBitAccess( mc.theWorld, bl.getBlockPos() );
final IBitBrush brush = access.getBitAt( bl.getBitX(), bl.getBitY(), bl.getBitZ() );
if ( brush != null )
{
<BUG>final ItemStack is = brush.getItemStack( 1 );
doPick( is );
}</BUG>
}
catch ( final CannotBeChiseled e )

final BitLocation bl = new BitLocation( mc.objectMouseOver, true, BitOperation.CHISEL );
final IBitAccess access = ChiselsAndBits.getApi().getBitAccess( mc.theWorld, bl.getBlockPos() );
final IBitBrush brush = access.getBitAt( bl.getBitX(), bl.getBitY(), bl.getBitZ() );
if ( brush != null )
{
final ItemStack is = brush.getItemStack( 1 );
if ( is != null )
{
doPick( is );
}
}
}
catch ( final CannotBeChiseled e )
