mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
1 parent
7d269684da
commit
dcd08c4d37
2 files changed
+5
-1
No files matched your search
@@ -92,6 +92,10 @@ public class ManagerGenetics extends ManagerBase {
|
||||
}
|
||||
|
||||
public BreedingSystem getSystem(ISpeciesRoot root) {
|
||||
// Fix NPE
|
||||
if (root == null) {
|
||||
return null;
|
||||
}
|
||||
return getSystem(root.getUID());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user