for ( int x = 0; x < inv.getWidth(); ++x )
{
for ( int y = 0; y < inv.getHeight(); ++y )
{
final ItemStack is = inv.getStackInRowAndColumn( x, y );
<BUG>if ( is != null )
{</BUG>
if ( is.getItem() instanceof ItemBitSaw )
{
if ( r.sawPosX != -1 )

for ( int x = 0; x < inv.getWidth(); ++x )
{
for ( int y = 0; y < inv.getHeight(); ++y )
{
final ItemStack is = inv.getStackInRowAndColumn( x, y );
if ( !ModUtil.isEmpty( is ) )
{
if ( is.getItem() instanceof ItemBitSaw )
{
if ( r.sawPosX != -1 )
