Fix the spacing and clean it up.

This commit is contained in:
graywolf336
2014-07-27 14:46:25 -05:00
parent f89de50d75
commit 71a60e6ee3
92 changed files with 9955 additions and 9940 deletions

View File

@ -230,24 +230,24 @@ public enum Lang {
public static void setFile(YamlConfiguration file) {
lang = file;
}
/** Gets the {@link YamlConfiguration} instance. */
public static YamlConfiguration getFile() {
return lang;
}
/** Writes any new language settings to the language file in storage. */
public static boolean writeNewLanguage(YamlConfiguration newLang) {
boolean anything = false;
for(Lang l : values()) {
if(!lang.contains(l.path)) {
lang.set(l.path, newLang.getString(l.path));
anything = true;
}
}
return anything;
return anything;
}
/** Returns the message in the language, no variables are replaced. */