Catch null eco symbol.

This commit is contained in:
KHobbits 2012-09-02 20:17:28 +01:00
parent 842d9f73a4
commit f808e6fa8e
2 changed files with 2 additions and 2 deletions

View file

@ -583,7 +583,7 @@ public class Settings implements ISettings
@Override
public String getCurrencySymbol()
{
return config.getString("currency-symbol", "$").substring(0, 1).replaceAll("[0-9]", "$");
return config.getString("currency-symbol", "$").concat("$").substring(0, 1).replaceAll("[0-9]", "$");
}
@Override