Get rid of all the nullable-nonnull stuff, warning huge diff

This commit is contained in:
Vincent Lee committed 2016-05-18 21:03:12 -05:00
1 parent bdf51cbc8b
commit 8fb3b886a8
344 files changed
+1603 -582

No files matched your search

@@ -31,6 +31,7 @@ import vazkii.botania.client.core.helper.ShaderHelper;
import vazkii.botania.common.block.ModBlocks;
import vazkii.botania.common.block.tile.mana.TilePool;
import javax.annotation.Nonnull;
import java.awt.*;
import java.util.Random;
@@ -41,7 +42,7 @@ public class RenderTilePool extends TileEntitySpecialRenderer<TilePool> {
public static int forceManaNumber = -1;
@Override
public void renderTileEntityAt(TilePool pool, double d0, double d1, double d2, float f, int digProgress) {
public void renderTileEntityAt(@Nonnull TilePool pool, double d0, double d1, double d2, float f, int digProgress) {
if(pool != null && (!pool.getWorld().isBlockLoaded(pool.getPos(), false)
|| pool.getWorld().getBlockState(pool.getPos()).getBlock() != ModBlocks.pool))
return;