Fix haveIBeenPwned check
This commit is contained in:
parent
3a0d5f6347
commit
c6278b17e9
@ -272,10 +272,9 @@ public class ValidationService implements Reloadable {
|
|||||||
}
|
}
|
||||||
return new HaveIBeenPwnedResults(false, 0);
|
return new HaveIBeenPwnedResults(false, 0);
|
||||||
} catch (java.io.IOException e) {
|
} 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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -49,7 +49,7 @@ public final class SecuritySettings implements SettingsHolder {
|
|||||||
newProperty("3rdPartyFeature.fixes.advancedShulkerFix", false);
|
newProperty("3rdPartyFeature.fixes.advancedShulkerFix", false);
|
||||||
|
|
||||||
@Comment({"Choose the best teleport method by server brand?",
|
@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 =
|
public static final Property<Boolean> SMART_ASYNC_TELEPORT =
|
||||||
newProperty("3rdPartyFeature.optimizes.smartAsyncTeleport", true);
|
newProperty("3rdPartyFeature.optimizes.smartAsyncTeleport", true);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user