mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 18:44:48 +02:00
Initialize TL Bundle on plugin start.
This commit is contained in:
@@ -43,9 +43,9 @@ public class I18n implements net.ess3.api.II18n
|
|||||||
public I18n(final IEssentials ess)
|
public I18n(final IEssentials ess)
|
||||||
{
|
{
|
||||||
this.ess = ess;
|
this.ess = ess;
|
||||||
customBundle = NULL_BUNDLE;
|
|
||||||
localeBundle = NULL_BUNDLE;
|
|
||||||
defaultBundle = ResourceBundle.getBundle(MESSAGES, Locale.ENGLISH);
|
defaultBundle = ResourceBundle.getBundle(MESSAGES, Locale.ENGLISH);
|
||||||
|
localeBundle = defaultBundle;
|
||||||
|
customBundle = NULL_BUNDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onEnable()
|
public void onEnable()
|
||||||
|
Reference in New Issue
Block a user