More null annotations

This commit is contained in:
mezz committed 2017-02-06 01:34:48 -08:00
1 parent 16b955b443
commit da8a833485
96 files changed
+573 -360

No files matched your search

@@ -75,7 +75,7 @@ public abstract class BlockDesign extends BlockMetadata implements IMultipassBlo
}
final DesignBlock block = blockC.getCarpentryBlock(world, pos);
final TileEntityMetadata tile = TileUtil.getTile(world, pos, TileEntityMetadata.class);
if (tile != null) {
if (tile != null && event.getFace() != null) {
block.rotate(event.getFace(), item, player, world, pos);
final int meta = block.getBlockMetadata(blockC.getDesignSystem());
tile.setTileMetadata(meta, true);