Dont display bank value GE/HA text when not needed

If showing only GE or HA value do not add the GE/HA prefix.

Closes #1479

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2019-01-26 12:50:04 +01:00
parent 0b0ed6faeb
commit 17067db7b6

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())
{