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

View File

@ -325,7 +325,7 @@ register-back-in-listener: false
login-attack-delay: 5
#Set the max fly speed, values range from 0.1 to 1.0
max-fly-speed: 1.0
max-fly-speed: 0.8
############################################################
# +------------------------------------------------------+ #