revert to boolean

This commit is contained in:
DNx5 2015-11-26 01:43:27 +07:00
parent ae3cf02c06
commit 7767ae6c0e
2 changed files with 2 additions and 3 deletions

View File

@ -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();

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,