Clean up some null annotations

This commit is contained in:
mezz committed 2017-04-19 00:52:10 -07:00
1 parent cc20e2d339
commit 3bb678258f
29 files changed
+97 -38

No files matched your search

@@ -170,8 +170,8 @@ public class BlockFlower extends BlockContainer implements IColoredBlock, IState
@Override
@SideOnly(Side.CLIENT)
public int colorMultiplier(IBlockState state, IBlockAccess world, BlockPos pos, int tintIndex) {
if (pos != null) {
public int colorMultiplier(IBlockState state, @Nullable IBlockAccess world, @Nullable BlockPos pos, int tintIndex) {
if (world != null && pos != null) {
TileEntity tile = world.getTileEntity(pos);
if (tile instanceof TileEntityFlower) {
TileEntityFlower flower = (TileEntityFlower) tile;