Päivitä 'src/main/java/fi/flexplex/connect/FlexConnect.java'
This commit is contained in:
parent
f3ee582969
commit
b598047fef
@ -57,6 +57,11 @@ public final class FlexConnect extends JavaPlugin {
|
|||||||
paperConfig.set("settings.velocity-support.secret", "flexplex");
|
paperConfig.set("settings.velocity-support.secret", "flexplex");
|
||||||
paperConfigModified = true;
|
paperConfigModified = true;
|
||||||
}
|
}
|
||||||
|
if (paperConfig.getBoolean("settings.unsupported-settings.perform-username-validation")) {
|
||||||
|
paperConfig.set("settings.unsupported-settings.perform-username-validation", false);
|
||||||
|
paperConfigModified = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (paperConfigModified) {
|
if (paperConfigModified) {
|
||||||
try {
|
try {
|
||||||
paperConfig.save("paper.yml");
|
paperConfig.save("paper.yml");
|
||||||
|
Loading…
Reference in New Issue
Block a user