Merge pull request #7572 from deathbeam/dont-display-bank-ge-ha

Dont display bank value GE/HA text when not needed
This commit is contained in:
Tomas Slusny
2019-01-26 12:17:27 +00:00
committed by GitHub

View File

@@ -86,7 +86,12 @@ public class BankValuePlugin extends Plugin
if (config.showGE() && gePrice != 0)
{
strCurrentTab += " (EX: ";
strCurrentTab += " (";
if (config.showHA())
{
strCurrentTab += "EX: ";
}
if (config.showExact())
{
@@ -100,7 +105,12 @@ public class BankValuePlugin extends Plugin
if (config.showHA() && haPrice != 0)
{
strCurrentTab += " (HA: ";
strCurrentTab += " (";
if (config.showGE())
{
strCurrentTab += "HA: ";
}
if (config.showExact())
{