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…
x
Reference in New Issue
Block a user