diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java index 0609f20..b493cc2 100644 --- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java +++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Config.java @@ -211,12 +211,6 @@ public boolean getAutoUpdate() return getConfig().getBoolean("Misc.AutoUpdate", true); } - public boolean useUpdaterDevBuilds() - { - //TODO add config value for final version - return true; - } - public boolean isBungeeCordModeEnabled() { return getConfig().getBoolean("Misc.UseBungeeCord", false); diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java index 3e80702..364a61a 100644 --- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java +++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Database/Helper/OldFileUpdater.java @@ -82,9 +82,9 @@ public static void updateLanguage(YAML oldYAML, YAML newYAML, Logger logger) switch(keys[1]) { case "Console": - switch(keys[2]) + if("NotFromConsole".equals(keys[2])) { - case "NotFromConsole": advancedConverter.put("Language.NotFromConsole", "&c" + oldYAML.getString(key)); break; + advancedConverter.put("Language.NotFromConsole", "&c" + oldYAML.getString(key)); } break; case "Ingame":