Fix haveIBeenPwned check

This commit is contained in:
HaHaWTH 2024-03-30 01:24:25 +08:00
parent 3a0d5f6347
commit c6278b17e9
2 changed files with 3 additions and 4 deletions

View File

@ -272,10 +272,9 @@ public class ValidationService implements Reloadable {
}
return new HaveIBeenPwnedResults(false, 0);
} catch (java.io.IOException e) {
logger.warning("验证密码时出现错误,这可能是由于网络问题,如果无法解决,请关闭HaveIBeenPwned检查");
logger.warning("Error occurred while checking password online, check your connection.\nWhen this error shows, the player's password won't be check");
return null;
}
return null;
}

View File

@ -49,7 +49,7 @@ public final class SecuritySettings implements SettingsHolder {
newProperty("3rdPartyFeature.fixes.advancedShulkerFix", false);
@Comment({"Choose the best teleport method by server brand?",
"(Enable this if you are using Paper)"})
"(Enable this if you are using Paper/Folia)"})
public static final Property<Boolean> SMART_ASYNC_TELEPORT =
newProperty("3rdPartyFeature.optimizes.smartAsyncTeleport", true);