Tired of people asking why they get errors on this

This commit is contained in:
Jaime Martínez Rincón 2020-07-12 20:15:58 +02:00
parent 5baff7267e
commit ed692bb7cd
No known key found for this signature in database
GPG Key ID: D7F007B5BBA8E142

View File

@ -82,7 +82,7 @@ public class PlayerBalancer extends Plugin {
String reply = new BufferedReader(new InputStreamReader(con.getInputStream())).readLine();
return getDescription().getVersion().equals(reply);
} catch (IOException e) {
e.printStackTrace();
getLogger().log(Level.WARNING, "Could not access Spigot API, maybe you have a firewall or something that blocks request to it", e);
}
return true;
}