Remove FAWE language option in config

Dieser Commit ist enthalten in:
MattBDev 2020-03-27 19:08:32 -04:00
Ursprung 8d61f84466
Commit 62165250ce
3 geänderte Dateien mit 1 neuen und 2644 gelöschten Zeilen

Datei anzeigen

@ -309,11 +309,6 @@ public class Fawe {
} catch (Throwable ignore) {}
try {
Settings.IMP.reload(file);
// Setting up message.yml
String lang = Objects.toString(Settings.IMP.LANGUAGE);
if (!lang.isEmpty()) {
getWorldEdit().getTranslationManager().setDefaultLocale(Locale.forLanguageTag(lang));
}
} catch (Throwable e) {
debug("====== Failed to load config ======");
debug("Please validate your yaml files:");

Datei anzeigen

@ -30,10 +30,7 @@ public class Settings extends Config {
public String COMMIT; // These values are set from FAWE before loading
@Final
public String PLATFORM; // These values are set from FAWE before loading
@Comment({"Options: cn, de, es, fr, it, nl, ru, tr",
"Create a PR to contribute a translation: https://github.com/IntellectualSites/FastAsyncWorldEdit/tree/master/worldedit-core/src/main/resources",})
public String LANGUAGE = "en";
@Comment({
"Set true to enable WorldEdit restrictions per region (e.g. PlotSquared or WorldGuard).",
"To be allowed to WorldEdit in a region, users need the appropriate",

Datei-Diff unterdrückt, da er zu groß ist Diff laden