mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 09:17:39 +00:00
Remove FAWE language option in config
This commit is contained in:
parent
8d61f84466
commit
62165250ce
@ -309,11 +309,6 @@ public class Fawe {
|
|||||||
} catch (Throwable ignore) {}
|
} catch (Throwable ignore) {}
|
||||||
try {
|
try {
|
||||||
Settings.IMP.reload(file);
|
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) {
|
} catch (Throwable e) {
|
||||||
debug("====== Failed to load config ======");
|
debug("====== Failed to load config ======");
|
||||||
debug("Please validate your yaml files:");
|
debug("Please validate your yaml files:");
|
||||||
|
@ -30,10 +30,7 @@ public class Settings extends Config {
|
|||||||
public String COMMIT; // These values are set from FAWE before loading
|
public String COMMIT; // These values are set from FAWE before loading
|
||||||
@Final
|
@Final
|
||||||
public String PLATFORM; // These values are set from FAWE before loading
|
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({
|
@Comment({
|
||||||
"Set true to enable WorldEdit restrictions per region (e.g. PlotSquared or WorldGuard).",
|
"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",
|
"To be allowed to WorldEdit in a region, users need the appropriate",
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user