diff --git a/src/main/java/fr/xephi/authme/service/ValidationService.java b/src/main/java/fr/xephi/authme/service/ValidationService.java index 7db299af..fca9eb53 100644 --- a/src/main/java/fr/xephi/authme/service/ValidationService.java +++ b/src/main/java/fr/xephi/authme/service/ValidationService.java @@ -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; } diff --git a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java index 0e6c3ca9..a6d7a980 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java @@ -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 SMART_ASYNC_TELEPORT = newProperty("3rdPartyFeature.optimizes.smartAsyncTeleport", true);