mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +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();
|
URLConnection urlc = url.openConnection();
|
||||||
BufferedReader in = new BufferedReader(new InputStreamReader(urlc.getInputStream()));
|
BufferedReader in = new BufferedReader(new InputStreamReader(urlc.getInputStream()));
|
||||||
String inputLine = in.readLine();
|
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;
|
realIP = inputLine;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user