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 net.minecraft.network.datasync.EntityDataManager;
import net.minecraft.world.World;
import vazkii.botania.common.Botania;
import javax.annotation.Nonnull;
public class EntitySignalFlare extends Entity {
private static final String COLOR_TAG = "color";
@@ -64,12 +66,12 @@ public class EntitySignalFlare extends Entity {
}
@Override
protected void readEntityFromNBT(NBTTagCompound nbttagcompound) {
protected void readEntityFromNBT(@Nonnull NBTTagCompound nbttagcompound) {
setColor(nbttagcompound.getInteger(COLOR_TAG));
}
@Override
protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
protected void writeEntityToNBT(@Nonnull NBTTagCompound nbttagcompound) {
nbttagcompound.setInteger(COLOR_TAG, getColor());
}