Fix some more null ItemStacks found with Idea

This commit is contained in:
Xander Victory committed 2017-06-13 14:38:49 +08:00
1 parent 2c1532b293
commit 8599224fca
10 files changed
+25 -24

No files matched your search

@@ -76,7 +76,7 @@ public class BlockBounding extends Block
IBlockState state1 = world.getBlockState(tileEntity.mainPos);
return state1.getBlock().getPickBlock(state1, target, world, tileEntity.mainPos, player);
} catch(Exception e) {
return null;
return ItemStack.EMPTY;
}
}