diff --git a/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java b/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java index 0e883d0bd..2060e08e0 100644 --- a/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java +++ b/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java @@ -9,8 +9,8 @@ import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = false) public class Database implements StorageObject { - boolean showCities = false; - boolean downloadIfMissing = true; - String downloadUrlCity = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz"; - String downloadUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"; + private boolean showCities = false; + private boolean downloadIfMissing = true; + private String downloadUrlCity = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz"; + private String downloadUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"; } diff --git a/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java b/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java index 65a909ed4..5942b678f 100644 --- a/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java +++ b/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java @@ -10,6 +10,6 @@ import lombok.EqualsAndHashCode; public class GeoIP implements StorageObject { private Database database = new Database(); - boolean showOnWhois = true; - boolean showOnLogin = true; + private boolean showOnWhois = true; + private boolean showOnLogin = true; }