Use generics for Chromosome type, begin unifying code

This commit is contained in:
mezz committed 2016-02-27 00:14:22 -08:00
1 parent a8270ef365
commit 43e41034f6
217 files changed
+3148 -2417

No files matched your search

@@ -10,6 +10,7 @@
******************************************************************************/
package forestry.farming.multiblock;
import javax.annotation.Nonnull;
import java.io.IOException;
import net.minecraft.nbt.NBTTagCompound;
@@ -68,7 +69,7 @@ public class FarmFertilizerManager implements INbtWritable, INbtReadable, IStrea
}
@Override
public void writeToNBT(NBTTagCompound data) {
public void writeToNBT(@Nonnull NBTTagCompound data) {
data.setInteger("StoredFertilizer", storedFertilizer);
}