summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-05-06 07:00:57 +0100
committerKHobbits <rob@khobbits.co.uk>2014-05-06 07:00:57 +0100
commitf09180659d28d8a89e81f2ffef2d6b79cbfe5bc0 (patch)
treec70948f3a372acabab2e56bd97c306539e63d964
parentc12373bf41fd362e9df0a4ab675378a44ee83680 (diff)
downloadEssentials-f09180659d28d8a89e81f2ffef2d6b79cbfe5bc0.tar
Essentials-f09180659d28d8a89e81f2ffef2d6b79cbfe5bc0.tar.gz
Essentials-f09180659d28d8a89e81f2ffef2d6b79cbfe5bc0.tar.lz
Essentials-f09180659d28d8a89e81f2ffef2d6b79cbfe5bc0.tar.xz
Essentials-f09180659d28d8a89e81f2ffef2d6b79cbfe5bc0.zip
Initialize TL Bundle on plugin start.
-rw-r--r--Essentials/src/com/earth2me/essentials/I18n.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/I18n.java b/Essentials/src/com/earth2me/essentials/I18n.java
index 3cf8c3a5d..478b6b5d1 100644
--- a/Essentials/src/com/earth2me/essentials/I18n.java
+++ b/Essentials/src/com/earth2me/essentials/I18n.java
@@ -43,9 +43,9 @@ public class I18n implements net.ess3.api.II18n
public I18n(final IEssentials ess)
{
this.ess = ess;
- customBundle = NULL_BUNDLE;
- localeBundle = NULL_BUNDLE;
defaultBundle = ResourceBundle.getBundle(MESSAGES, Locale.ENGLISH);
+ localeBundle = defaultBundle;
+ customBundle = NULL_BUNDLE;
}
public void onEnable()