This commit is contained in:
Lucas Jacques 2015-11-25 19:52:15 +01:00
commit 5f9ba208de
2 changed files with 2 additions and 3 deletions

View File

@ -900,6 +900,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();

View File

@ -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,