mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
Begin 1.11 (compiles, does not run yet)
This commit is contained in:
1 parent
5310003659
commit
424fdaaf48
164 files changed
+1396
-1312
No files matched your search
@@ -38,13 +38,7 @@ public class ModuleGenetics implements IInitializable {
|
||||
for (final ButterflySpecies species2 : ButterflySpecies.values()) {
|
||||
//AlleleManager.alleleRegistry.registerAllele(species2);
|
||||
Binnie.GENETICS.getButterflyRoot().registerTemplate(species2.getTemplate());
|
||||
final String scientific = species2.branchName.substring(0, 1).toUpperCase() + species2.branchName.substring(1).toLowerCase();
|
||||
final String uid = "trees." + species2.branchName.toLowerCase();
|
||||
IClassification branch = AlleleManager.alleleRegistry.getClassification("genus." + uid);
|
||||
if (branch == null) {
|
||||
branch = AlleleManager.alleleRegistry.createAndRegisterClassification(IClassification.EnumClassLevel.GENUS, uid, scientific);
|
||||
}
|
||||
(species2.branch = branch).addMemberSpecies(species2);
|
||||
species2.getBranch().addMemberSpecies(species2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user