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

@@ -20,6 +20,8 @@ import vazkii.botania.client.render.tile.RenderTilePool;
import vazkii.botania.common.block.tile.mana.TilePool;
import vazkii.botania.common.entity.EntityPoolMinecart;
import javax.annotation.Nonnull;
public class RenderPoolMinecart extends RenderMinecart<EntityPoolMinecart> {
public RenderPoolMinecart(RenderManager p_i46155_1_) {
@@ -27,7 +29,7 @@ public class RenderPoolMinecart extends RenderMinecart<EntityPoolMinecart> {
}
@Override
protected void renderCartContents(EntityPoolMinecart poolCart, float p_147910_2_, IBlockState state) {
protected void renderCartContents(EntityPoolMinecart poolCart, float p_147910_2_, @Nonnull IBlockState state) {
RenderTilePool.forceVariant = PoolVariant.DEFAULT;
RenderTilePool.forceManaNumber = poolCart.getMana();
TileEntityRendererDispatcher.instance.getSpecialRendererByClass(TilePool.class).renderTileEntityAt(null, poolCart.posX, poolCart.posY, poolCart.posZ, ClientTickHandler.partialTicks, -1);