Initialize TL Bundle on plugin start.

This commit is contained in:
KHobbits 2014-05-06 07:00:57 +01:00
parent c12373bf41
commit f09180659d

View file

@ -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()