revert to boolean
This commit is contained in:
parent
ae3cf02c06
commit
7767ae6c0e
@ -899,6 +899,7 @@ public class AuthMe extends JavaPlugin {
|
|||||||
*
|
*
|
||||||
* @return The real IP of the player.
|
* @return The real IP of the player.
|
||||||
*/
|
*/
|
||||||
|
// TODO: Cache the result
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public String getVeryGamesIp(Player player) {
|
public String getVeryGamesIp(Player player) {
|
||||||
String realIP = player.getAddress().getAddress().getHostAddress();
|
String realIP = player.getAddress().getAddress().getHostAddress();
|
||||||
|
|||||||
@ -48,9 +48,7 @@ public final class Settings extends YamlConfiguration {
|
|||||||
public static Pattern nickPattern;
|
public static Pattern nickPattern;
|
||||||
public static boolean useLogging = false;
|
public static boolean useLogging = false;
|
||||||
public static int purgeDelay = 60;
|
public static int purgeDelay = 60;
|
||||||
// Due to compatibility issues with plugins like FactionsChat
|
public static boolean isChatAllowed, isPermissionCheckEnabled, isRegistrationEnabled,
|
||||||
public static Boolean isChatAllowed;
|
|
||||||
public static boolean isPermissionCheckEnabled, isRegistrationEnabled,
|
|
||||||
isForcedRegistrationEnabled, isTeleportToSpawnEnabled,
|
isForcedRegistrationEnabled, isTeleportToSpawnEnabled,
|
||||||
isSessionsEnabled, isAllowRestrictedIp,
|
isSessionsEnabled, isAllowRestrictedIp,
|
||||||
isMovementAllowed, isKickNonRegisteredEnabled,
|
isMovementAllowed, isKickNonRegisteredEnabled,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user