Remove FAWE language option in config

This commit is contained in:
MattBDev 2020-03-27 19:08:32 -04:00
parent 8d61f84466
commit 62165250ce
3 changed files with 1 additions and 2644 deletions

View File

@ -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:");

View File

@ -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",

File diff suppressed because it is too large Load Diff