settings will now reload correctly.

This commit is contained in:
Brianna O'Keefe 2018-11-30 19:09:18 -05:00
parent deeae70585
commit a4320c1e15
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ public class UltimateStacker extends JavaPlugin {
}
public void reload() {
settingsManager.updateSettings();
String langMode = getConfig().getString("System.Language Mode");
this.locale = Locale.getLocale(getConfig().getString("System.Language Mode", langMode));
this.locale.reloadMessages();