mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-12-27 17:37:41 +01:00
Refactor code
This commit is contained in:
parent
ba3ec3753e
commit
ebca586651
@ -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);
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user