mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-30 14:13:35 +01:00
re-add geoip methods and set as deprecated
This commit is contained in:
parent
10580e3447
commit
53f3ad114b
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user