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

@@ -22,6 +22,8 @@ import net.minecraft.util.math.RayTraceResult;
import net.minecraft.world.World;
import vazkii.botania.common.lib.LibItemNames;
import javax.annotation.Nonnull;
public class ItemOpenBucket extends ItemMod {
public ItemOpenBucket() {
@@ -29,8 +31,9 @@ public class ItemOpenBucket extends ItemMod {
setMaxStackSize(1);
}
@Nonnull
@Override
public ActionResult<ItemStack> onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, EnumHand hand) {
public ActionResult<ItemStack> onItemRightClick(@Nonnull ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, EnumHand hand) {
RayTraceResult RayTraceResult = rayTrace(par2World, par3EntityPlayer, true);
if(RayTraceResult == null)