summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-09-02 20:17:28 +0100
committerKHobbits <rob@khobbits.co.uk>2012-09-02 20:17:28 +0100
commit7f65879cb6dc28084ecfff57b047941cc106ecf2 (patch)
tree5f07c3d80aa4fe6b5f573cfa7255bf6f8a82e97d
parent8bc0f29e206e59b4b363aaac0ead1277364be51d (diff)
downloadEssentials-7f65879cb6dc28084ecfff57b047941cc106ecf2.tar
Essentials-7f65879cb6dc28084ecfff57b047941cc106ecf2.tar.gz
Essentials-7f65879cb6dc28084ecfff57b047941cc106ecf2.tar.lz
Essentials-7f65879cb6dc28084ecfff57b047941cc106ecf2.tar.xz
Essentials-7f65879cb6dc28084ecfff57b047941cc106ecf2.zip
Catch null eco symbol.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java2
-rw-r--r--Essentials/src/config.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index c7a59b763..cd98d4971 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -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
diff --git a/Essentials/src/config.yml b/Essentials/src/config.yml
index 9c09d75a6..a7297866d 100644
--- a/Essentials/src/config.yml
+++ b/Essentials/src/config.yml
@@ -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
############################################################
# +------------------------------------------------------+ #