mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 04:32:24 +00:00
Updates for 1.11. Running but missing textures.
This commit is contained in:
1 parent
424fdaaf48
commit
f660f213f6
185 files changed
+959
-783
No files matched your search
@@ -18,7 +18,7 @@ public class AnalystPageKaryogram extends ControlAnalystPage {
|
||||
new ControlTextCentered(this, y, "§nKaryogram").setColour(this.getColour());
|
||||
y += 16;
|
||||
y += 8;
|
||||
final ISpeciesRoot root = AlleleManager.alleleRegistry.getSpeciesRoot(ind.getClass());
|
||||
final ISpeciesRoot root = AlleleManager.alleleRegistry.getSpeciesRoot(ind);
|
||||
final BreedingSystem system = Binnie.GENETICS.getSystem(root);
|
||||
final int maxBiomePerLine = (int) ((this.w() + 4.0f - 16.0f) / 22.0f);
|
||||
int karygramX = (this.w() - (Math.min(maxBiomePerLine, system.getActiveKaryotype().size()) * 18 - 4)) / 2;
|
||||
|
||||
Reference in new issue
Block a user