re-add geoip methods and set as deprecated

This commit is contained in:
DNx5 2015-09-24 00:55:01 +07:00
parent 10580e3447
commit 53f3ad114b

View File

@ -64,7 +64,6 @@ public class AuthMe extends JavaPlugin {
private JsonCache playerBackup; private JsonCache playerBackup;
public OtherAccounts otherAccounts; public OtherAccounts otherAccounts;
public Location essentialsSpawn; public Location essentialsSpawn;
public LookupService lookupService;
public boolean legacyChestShop = false; public boolean legacyChestShop = false;
public boolean antibotMod = false; public boolean antibotMod = false;
public boolean delayedAntiBot = true; public boolean delayedAntiBot = true;
@ -768,5 +767,14 @@ public class AuthMe extends JavaPlugin {
return realIP; return realIP;
} }
@Deprecated
public String getCountryCode(String ip) {
return Utils.getCountryCode(ip);
}
@Deprecated
public String getCountryName(String ip) {
return Utils.getCountryName(ip);
}
} }