diff --git a/src/main/java/fr/xephi/authme/AuthMe.java b/src/main/java/fr/xephi/authme/AuthMe.java index a91eceee8..b1885d161 100644 --- a/src/main/java/fr/xephi/authme/AuthMe.java +++ b/src/main/java/fr/xephi/authme/AuthMe.java @@ -899,6 +899,7 @@ public class AuthMe extends JavaPlugin { * * @return The real IP of the player. */ + // TODO: Cache the result @Deprecated public String getVeryGamesIp(Player player) { String realIP = player.getAddress().getAddress().getHostAddress(); diff --git a/src/main/java/fr/xephi/authme/settings/Settings.java b/src/main/java/fr/xephi/authme/settings/Settings.java index ecbc8c543..51d9fcbc4 100644 --- a/src/main/java/fr/xephi/authme/settings/Settings.java +++ b/src/main/java/fr/xephi/authme/settings/Settings.java @@ -48,9 +48,7 @@ public final class Settings extends YamlConfiguration { public static Pattern nickPattern; public static boolean useLogging = false; public static int purgeDelay = 60; - // Due to compatibility issues with plugins like FactionsChat - public static Boolean isChatAllowed; - public static boolean isPermissionCheckEnabled, isRegistrationEnabled, + public static boolean isChatAllowed, isPermissionCheckEnabled, isRegistrationEnabled, isForcedRegistrationEnabled, isTeleportToSpawnEnabled, isSessionsEnabled, isAllowRestrictedIp, isMovementAllowed, isKickNonRegisteredEnabled,