mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-10-02 09:17:26 +02:00
Tired of people asking why they get errors on this
This commit is contained in:
parent
5baff7267e
commit
ed692bb7cd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user