From 9f70748b55e815c28efb8ae563297283de1c98d6 Mon Sep 17 00:00:00 2001 From: HaHaWTH Date: Wed, 20 Sep 2023 02:26:48 +0800 Subject: [PATCH] Useless code cleanup --- .../authme/settings/properties/SecuritySettings.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 8101044b..80cd5c2c 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java @@ -2,12 +2,12 @@ package fr.xephi.authme.settings.properties; import ch.jalu.configme.Comment; import ch.jalu.configme.SettingsHolder; -import ch.jalu.configme.properties.BooleanProperty; + import ch.jalu.configme.properties.Property; import fr.xephi.authme.security.HashAlgorithm; import fr.xephi.authme.settings.EnumSetProperty; import java.util.Set; -import fr.xephi.authme.listener.PlayerQuitListener; + import static ch.jalu.configme.properties.PropertyInitializer.newLowercaseStringSetProperty; import static ch.jalu.configme.properties.PropertyInitializer.newProperty; @@ -41,9 +41,7 @@ public final class SecuritySettings implements SettingsHolder { // "(Set this to 0 to disable)(Default: 4)"}) // public static final Property GUI_CAPTCHA_MAX_TRY = newProperty("3rdPartyFeature.captcha.maxTryTimes",4); -// @Comment({"Kick the players when they didn't finish the gui captcha in time? " , -// "(0 is disabled)"}) -// public static final Property CAPTCHA_TIMEOUT = newProperty("3rdPartyFeature.captcha.timeout",0); + //@Comment({"Using which API to get hash data?", //"Available options: github, gitee, ghproxy (if your server is in China, please use gitee or ghproxy.)"}) //public static final Property SHA_CHECK_METHOD = newProperty("Plugin.hashing.hashApi","github");