mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
More null annotations
This commit is contained in:
1 parent
da8a833485
commit
a5daa93bf1
163 files changed
+952
-849
No files matched your search
@@ -26,6 +26,7 @@ import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -941,6 +942,7 @@ public enum FlowerDefinition implements IFlowerDefinition {
|
||||
String binomial;
|
||||
String branchName;
|
||||
List<IAllele[]> variantTemplates;
|
||||
@Nullable
|
||||
IClassification branch;
|
||||
EnumFlowerColor primaryColor, secondaryColor;
|
||||
|
||||
@@ -996,7 +998,7 @@ public enum FlowerDefinition implements IFlowerDefinition {
|
||||
IAlleleFlowerSpeciesBuilder speciesBuilder = FlowerManager.flowerFactory.createSpecies(uid, unlocalizedName, "Binnie's Mod Team", unlocalizedDescription, isDominant, getBranch(), binomial, flowerType);
|
||||
setSpeciesProperties(speciesBuilder);
|
||||
this.species = speciesBuilder.build();
|
||||
if (branch != null) {
|
||||
if (this.branch != null) {
|
||||
this.branch.addMemberSpecies(species);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user