mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-24 17:47:38 +01:00
VeryGames ipclean api fix
This commit is contained in:
parent
6664b1c58f
commit
10878ff8f4
@ -804,7 +804,7 @@ public class AuthMe extends JavaPlugin {
|
||||
URLConnection urlc = url.openConnection();
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(urlc.getInputStream()));
|
||||
String inputLine = in.readLine();
|
||||
if (inputLine != null && !inputLine.isEmpty() && !inputLine.equalsIgnoreCase("error")) {
|
||||
if (inputLine != null && !inputLine.isEmpty() && !inputLine.equalsIgnoreCase("error") && !inputLine.contains("error")) {
|
||||
realIP = inputLine;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user