diff --git a/src/main/java/de/presti/ree6/main/Main.java b/src/main/java/de/presti/ree6/main/Main.java index b9e3deb77..3e6c6f736 100644 --- a/src/main/java/de/presti/ree6/main/Main.java +++ b/src/main/java/de/presti/ree6/main/Main.java @@ -237,10 +237,16 @@ public static void main(String[] args) { getInstance().setCommandManager(new CommandManager()); Setting prefixSetting = SettingsManager.getDefault("chatprefix"); + SettingsManager.getSettings().remove(prefixSetting); + prefixSetting.setValue(BotConfig.getDefaultPrefix()); + SettingsManager.getSettings().add(prefixSetting); Setting languageSetting = SettingsManager.getDefault("configuration_language"); + SettingsManager.getSettings().remove(languageSetting); + languageSetting.setValue(BotConfig.getDefaultLanguage()); + SettingsManager.getSettings().add(languageSetting); } catch (Exception exception) { log.error("Shutting down, because of an critical error!", exception); System.exit(0);