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");
|
||||
paperConfigModified = true;
|
||||
}
|
||||
if (paperConfig.getBoolean("settings.unsupported-settings.perform-username-validation")) {
|
||||
paperConfig.set("settings.unsupported-settings.perform-username-validation", false);
|
||||
paperConfigModified = true;
|
||||
}
|
||||
|
||||
if (paperConfigModified) {
|
||||
try {
|
||||
paperConfig.save("paper.yml");
|
||||
|
Loading…
Reference in New Issue
Block a user