More null annotations

This commit is contained in:
mezz committed 2017-02-07 00:05:24 -08:00
1 parent da8a833485
commit a5daa93bf1
163 files changed
+952 -849

No files matched your search

@@ -70,7 +70,7 @@ public class FlowerBreedingSystem extends BreedingSystem {
@Override
public boolean isDNAManipulable(final ItemStack member) {
ISpeciesType type = this.getSpeciesRoot().getType(member);
return isDNAManipulable(type);
return type != null && isDNAManipulable(type);
}
@Override