Merge pull request #249 from KorDum/bugfix/issue-247

#247
This commit is contained in:
Alexander Kornilov authored and GitHub committed 2017-08-05 11:32:42 +03:00
commit 97e808394f
3 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ buildscript {
apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin"
apply plugin: 'forge'
version = "2.0.20"
version = "2.0.21"
if (System.getenv("BUILD_NUMBER") != null) {
version = version + "-" + System.getenv("BUILD_NUMBER")
}
@@ -93,11 +93,8 @@ public class ControlDatabaseIndividualDisplay extends ControlItemDisplay impleme
switch (discovered) {
case SHOW:
tooltip.add(species.getName());
break;
case DISCOVERED:
tooltip.add(I18N.localise("binniecore.gui.database.discovered.discovered"));
tooltip.add(species.getName());
break;
case UNDISCOVERED:
@@ -31,11 +31,11 @@ public class PageBreeder extends ControlPage<DatabaseTab> {
);
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.species.count", system.discoveredSpeciesCount, system.totalSpeciesCount));
new ControlBreedingProgress(this, 20, 87, 102, 14, system, system.discoveredSpeciesPercentage);
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.branch.count", system.discoveredBranchCount, system.totalBranchCount));
new ControlTextCentered(this, 115.0f, I18N.localise("binniecore.gui.database.branch.count", system.discoveredBranchCount, system.totalBranchCount));
new ControlBreedingProgress(this, 20, 127, 102, 14, system, system.discoveredBranchPercentage);
if (system.discoveredSecretCount > 0) {
new ControlTextCentered(this, 75.0f, I18N.localise("binniecore.gui.database.species.secretCount", system.discoveredSecretCount, system.totalSecretCount));
new ControlTextCentered(this, 155.0f, I18N.localise("binniecore.gui.database.species.secretCount", system.discoveredSecretCount, system.totalSecretCount));
}
new ControlTextCentered(this, 32.0f, player.getName());